Guides

Redirect a customer post-purchase

You might need to redirect a customer to an URL of your choosing once they have made payment and completed their purchase.

With SellApp, you can do so as follows: Create/Edit the relevant product -> navigate to the "Customization" section -> enter the URL in the "redirect URL" input field.

Once done and saved, customers will be redirected to the URL you've entered. If you've appended the URL with any dynamic variables, these will automatically be inserted before redirecting your customer.


Dynamic Redirect Variables

At present, the following dynamic redirect variables are supported:

  • [customer_email] The customer's email address
  • [order_id] The order ID associated with the purchase

Looking for a variable that's not in the above list? Send us a message by contacting us via live chat (found at the bottom right hand corner of this page)

Redirect Example

You have a coding course. You want to automatically check whether a customer has paid for your course before activating their account and displaying the course.

With redirect URL's and dynamic variables, you can verify whether the customer's order ID and email address correspond with a paid invoice, for example by pinging our API endpoint or storing incoming webhook data with our order completed webhooks, and let them create an account or activate their existing account.

The redirect URL would be: https://my-coding-course.com/purchase-completed?email=[customer_email]&orderId=[order_id]

Previous
🏷️ Payment fee/discount