Embedded Forms with Payments

Modified on Fri, 17 Feb 2023 at 10:23 AM

This article covers how to embed a form with a payment workflow event into your website. 


Embedding the form


The first step is to use the website embed script to embed your form onto your website. For instructions on that first check out this article.




To embed a form with a payment you will need to create a payment receipt page on your website. This is the page that your users will be redirected to after completing a payment. Ensure the paymentReceiptUrl in your website script is pointing to your receipt page.


Copy the Payment Receipt Embed Script from the OneBlink LcS. This can be found on the summary page of your form, or generated from the SDK menu by clicking the generate script button on the forms CDN Card. Note that the form must have a payment workflow event for the receipt page script to display. 



Once the Payment Receipt Embed Script is added to your receipt page, your users will be able to see the receipt content displayed on your reciept page. 




The done button on the receipt page can then be used to redirect users to anywhere you would like them to go after the payment has been completed. This can be configured by configuring the doneRedirectUrl in the Payment Receipt Embed Script.






Getting Help

If you need any assistance with website embed scripts please reach out through the Report Issue menu or email support@oneblink.io



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article