By default, when a customer goes through checkout via a PayWhirl widget, they are subsequently logged in and directed to their customer portal dashboard after purchase. 

However, instead of directing them to their account, you may want to send them to a custom thank you page on your website (a custom url) or somewhere else on the web once they've paid.

There are TWO ways you can direct a customer to a custom "thank you" page...

  1. ADVANCED WIDGET SETTING 
  2. CUSTOM SCRIPT REDIRECT - Use this method if you want to use custom tracking, conversion or affiliate tracking scrips.

WIDGET SETTING - ADVANCED SETTING
On all widgets there is an "advanced" settings section near the bottom of the settings options. If you open the advanced settings you will see a field that, when populated with a valid url, will redirect the customer to a custom webpage after checkout.

OR... If you'd like more control, and the ability to load custom conversion scripts BEFORE sending a customer to a thank you page (for affiliate tracking, custom integrations, etc) you can use our custom scripts method.

You can setup a custom redirect script easily using PayWhirl's "Custom Tracking Scripts" app. First, log into your PayWhirl account and navigate to "Apps & Integrations" and click "Install App" next to Custom Scripts.

Once you load the app, give it a name and click the tab that says "Conversion".

Paste in the code below and click the "Save" button.

Note: You'll want to switch out https://app.paywhirl.com with the full URL of the page to which you'd like to direct the customer.

<style type='text/css'>
    #dashboard{ display:none; }
</style>

<script>
    top.location.href='https://app.paywhirl.com';
</script>

NOTE: You should trigger any tracking, conversion or affiliate scripts PRIOR to loading the redirect in the custom scripts app. Data and variables from your customer's purchase will only be available within the custom scripts app, which needs to be triggers before sending customers onto a custom thank you page.

Related Articles:

How to install 3rd party scripts for conversion, tracking & customization

How to integrate PayWhirl's customer portal login with your website

How customers manage their own account information


Let us know if you have any questions about forwarding customers after checkout. 

Team PayWhirl

Did this answer your question?