If you have your own system and wish to integrate it to senangPay for recurring payments, you will first need to add your products into senangPay. The products need to be created first for auditing purposes. Recurring payments are not available for merchants who subscribe to the senangPay x Stripe package (legacy package).
To start, we will need the information below. These can be retrieved from the senangPay dashboard.
1. Go to Menu > Settings > Profile.
2. Refer to the "Shopping Cart Integration Link" section. Get your Merchant ID and Secret Key information.
3. Then you will need to fill in the Recurring Return URL. This is the URL where senangPay will redirect the buyer to after the payment has been processed.
4. Next, fill in the Recurring Callback URL. Recurring Callback URL is used as an alternative notification to the merchant shopping cart in case there is a breakdown in the transaction flow. For more info on Callback URL, read here.
Getting the Recurring ID
The Recurring ID is a unique identifier for your recurring payment product. To obtain it, you'll need to first create a recurring payment product in the senangPay dashboard.
Here’s a step-by-step guide:
1. Create a new product
Navigate to Menu > Product > Create New in your senangPay dashboard.
2. Set up the recurring product:
Choose to create either an Instalment Product or a Subscription Product. For detailed instructions on setting up these products, refer to the following guides: