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
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