Configure Payment Success Script in Testpress

Created by Testpress Support, Modified on Fri, 6 Mar at 3:00 PM by Testpress Support

This section helps you run custom scripts after a successful payment. It allows you to track conversions, capture payment details, and integrate third-party tools such as analytics or CRM systems using payment-specific data like amount, transaction ID, and payment mode.

  • Allows you to add a custom script that runs immediately after a successful payment.

  • The script executes only when a payment is completed successfully, ensuring accurate event tracking.

  • You can use predefined variables in the script such as paid_amountcurrencytransaction_iddate, and payment_mode to capture detailed payment information.

  • Helps institutes measure sales performance, attribute conversions, and automate post-payment workflows without manual intervention.

Steps to configure:

  • Go to Settings → Institute → Payment Success Script.



  • Paste the required tracking or custom script in the provided field.

  • Save the changes to activate the script for all successful payments.


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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

Can’t find what you’re looking for?

Let us help you right now!

Submit a ticket