Hello,
We have a new business case that requires us to use a Nigerian payment gateway provider called PayStack. Paystack is not currently supported by Zoho and we're looking into how we can fulfill this requirement using the Zoho subscriptions API .
Our requirement:
When a customer's subscription bill is due, we want to trigger a deluge custom function that calls the Paystack api, charge the customer and updates the subscription based on payment capture success or failure.
On Payment Success:
- Renew subscription
- trigger customer payment success and renewal notification email
On Payment failure
- trigger the payment failure notification process
- suspend subscription after x no of tries/days
Any code sample or guidiance you can provide me will be extremely appreciated.
Thanks
Kamar Oyenuga