{"id":703,"date":"2026-10-20T09:05:52","date_gmt":"2026-10-20T08:05:52","guid":{"rendered":"https:\/\/wpgetpaid.com\/documentation\/article\/redirect-to-a-page-after-successful-payment\/"},"modified":"2026-10-20T09:05:52","modified_gmt":"2026-10-20T08:05:52","slug":"redirect-to-a-page-after-successful-payment","status":"publish","type":"gd_place","link":"https:\/\/wpgetpaid.com\/documentation\/article\/discounts\/redirect-to-a-page-after-successful-payment\/","title":{"rendered":"How to send customers to a page after a successful payment"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">After a successful payment, GetPaid sends the customer to the Success Page chosen in GetPaid &gt; Settings &gt; General, under Page Settings. GetPaid creates this page when you install it. It is called Payment Confirmation and holds the <code>&#091;wpinv_receipt&#093;<\/code> shortcode, which shows the receipt for the invoice the customer just paid.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If customers end up somewhere unexpected after paying, the page setting is usually the cause: the page was deleted, moved to the trash or unpublished, so GetPaid has no valid page to send them to. Failed or cancelled payments go to the Failed Transaction Page instead, and when that setting is empty GetPaid sends the customer to your home page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Check the payment pages<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to GetPaid &gt; Settings &gt; General and scroll to Page Settings.<\/li>\n\n\n\n<li>Make sure Success Page and Failed Transaction Page each have a published page selected.<\/li>\n\n\n\n<li>If a page is missing, go to GetPaid &gt; Settings &gt; Tools and click Run next to Check Pages. GetPaid recreates any of its pages that are missing and selects them in the settings.<\/li>\n\n\n\n<li>Save the settings and make a test payment to confirm where you land.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You can also make the success page yourself. Create a normal page, add the <code>&#091;wpinv_receipt&#093;<\/code> shortcode (or the GetPaid &gt; Invoice Receipt block), publish it and select it as the Success Page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add your own content to the confirmation page<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The success page is an ordinary WordPress page, so you can put text, buttons and links above or below the receipt. Keep the <code>&#091;wpinv_receipt&#093;<\/code> shortcode on the page, because that is what shows the receipt for the right invoice.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is the easiest way to give buyers a route back into your site after paying. Add a link to their account page, to whatever they just bought, or to the My Invoices page, which uses the <code>&#091;wpinv_history&#093;<\/code> shortcode to list their invoices. If your site runs UsersWP, you can add an Invoices tab to user profiles under UsersWP &gt; Form Builder &gt; Profile Tabs and link to the profile from the confirmation page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A different page for each item<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Success Page setting applies to every payment. To send buyers of a particular item to a page of its own, see the <a href=\"https:\/\/wpgetpaid.com\/documentation\/article\/item-success\/getpaid-custom-item-success-setup-guide\/\">GetPaid Custom Item Success setup guide<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After a successful payment, GetPaid sends the customer to the Success Page chosen in GetPaid &gt; Settings &gt; General, under Page Settings. GetPaid creates this page when you install it. It is called Payment Confirmation and holds the &#091;wpinv_receipt&#093; shortcode, which shows the receipt for the invoice the customer just paid. If customers end up [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[220,211],"class_list":["post-703","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-discounts","gd_placecategory-tips-tricks-more"],"_links":{"self":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/comments?post=703"}],"version-history":[{"count":0,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/703\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/media?parent=703"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=703"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}