October 15, 2026
-
Add the following code right in the
<head>of all pages of your website:Make sure to replace YOUR ACCOUNT ID with your actual account id. - Create a thank you/success page on your website (eg. Squarespace).
- In the MoonClerk payment form, scroll down to Confirmation and select Redirect to another webpage.
-
Add the URL of the thank you/success page you created, eg.
http://your-site.com/successand append?payment_id=#{{payment_id}}&amount=#{{amount}}&customer_id=#{{customer_id}}to this link. It should now look likehttp://your-site.com/success?payment_id=#{{payment_id}}&amount=#{{amount}}&customer_id=#{{customer_id}}