Directorist Getting Started Directorist Overview with Setup Wizard Installation Setting Up the Required Pages Managing Categories Managing Location Terms and Conditions Setup CSV Import/Export Listings Management Adding a listing from the frontend & backend Guest listing submission Listings Sidebar Category Archive Location Archive General Listing Settings Multiple Directories All Listings Management Monetization Monetization Overview General Configurations Test your configuration Managing Orders Currency Settings Gateway Settings Search and Filter Settings Search Listing Page Setup Advanced Filter in Search Result Page Advanced Search and Filter Advanced Filter in Search Listings Form Search Result Page Setup Advanced Filter in All Listings Page Advanced Filter Widget Customization Registration and Login Customization Single Listing Page Customization All Listings Page Customization Badges Styling Adding Widgets Email Template Customize Color settings Custom Fields On Add Listing Page Shortcodes Add Listing Page All Listings Page Single Category Page Tags Page All Locations Page Search Results Login and Registration Payment & Checkout Page All Categories Page Single Location Page Search Listings User Dashboard Author Profile All Authors Advanced Settings Search Engine Optimization (SEO) Configuring Maps Review Management Translating Directorist Map View Help and Support Sending Announcements Developers Guide Action Hooks Filter Hooks Template Override Articles How to perform a plugin conflict test How to Fix Export Issues in Directorist Default Import/Export Tool Directory Builder Form and Layout Builder Single Listings Layout Multiple Directories All Listing Card Layout Search Form Layout Custom Single Listing Page Payment & Checkout Page Transaction Failure You can display a message to a user when a transaction fails using this shortcode. DIrectorist will redirect the user automatically to the page where this shortcode is used. However, you need to assign this page to the Transaction Failure Page option in the Directory Settings → Pages, Links, and Views. Transaction Failure Shortcode: [directorist_transaction_failure] This shortcode does not have any attributes/parameters Payment Receipt You can show the complete details of the purchase to the customer after completing a purchase using this shortcode. However, If you visit the page directly, you will not see any content. Rather you may see an error message somewhat like this “Sorry! No order id has been provided.“. It is because the directorist uses this page automatically when necessary. You need to add the shortcode in a page and assign the page to the payment/order receipt page option in the Directory Settings → Pages, Links, and Views. Payment Receipt Shortcode: [directorist_payment_receipt] This shortcode does not have any attributes/parameters. Sample Screenshot The shortcode output on your site may be a little different because new features are being added and modified with every update. Checkout/Cart Use this shortcode [directorist_checkout] to display the Directorist cart and checkout information on any page or post you like. This shortcode does not have any attributes/parameters. If you visit the page directly, you will not see any content. Rather you may see an error message somewhat like this “Sorry, Something went wrong. The listing ID is missing. Please try again. “. It is because Directorist uses this page automatically when necessary. You need to add the shortcode in a page and assign the page to the Checkout/Cart option in the Directory Settings → Pages, Links, and Views. Checkout/Cart Shortcode: [directorist_checkout] The [directorist_checkout] shortcode will also output all payment gateways information so that the user can pay/checkout using any gateway they like. Sample Screenshot The shortcode output on your site may be a little different because new features are being added and modified with every update. That's all about Payment & Checkout Page shortcodes. Last Updated: July 26th, 2021 Related Article All Authors Author Profile User Dashboard