This article covers how to embed a form with a payment workflow event into your website. To embed a form with a payment you will need to create a payment receipt page on your website that your users will be redirected to after completing a payment.
Instructions
-
Use the website embed script to embed your form onto your website
-
When you add the code to your website, add the URL of the page you are embedding the code in between the '' of both the submissionRedirectUrl and the cancelRedirectUrl
-
When you add the code to your website, add the URL of the page you are embedding the code in between the '' of both the submissionRedirectUrl and the cancelRedirectUrl
- You will now need to create a separate payment receipt page on your website. This is the page that your users will be redirected to after completing a payment.
- On the Summary tab of the form, click the embed button under the Form Link
- Scroll down and copy the Payment Receipt Embed Script
Note: The form must have a payment workflow event for the receipt page script to display. - Add the script to the Payment Receipt page on your website
- Add URLs between the " of the doneRedirectUrl and cancelRedirectURL to direct users to specific pages after they click Done on the receipt or cancel the transaction
- Go back to the page with your embedded form and ensure the paymentReceiptUrl in your website script is pointing to your new receipt page
- Users will now be able to see the receipt content displayed on your receipt page after they complete a transaction
Comments
Let us know what was helpful or not helpful about the article.0 comments
Please sign in to leave a comment.