#Naveed | Web3Auth
1 messages · Page 1 of 1 (latest)
No built in method as I am aware of :/ I think you can build a script yourself, looping through all their unpaid and call the Pay Invoice API accordingly
i see, and is there any way i can inform users of the next billing date of an invoice, do i get that from billing_cycle_anchor
and why is it that i cant test email on testmode would be helpful to use the time travel features and visualise the different emails being sent
Can you elaborate on "billing date of an invoice"? billing_cycle_anchor is for a Subscription
And yes you can't send test email on test mode programatically. You can send from Dashboard tho
There is a setting in Dashboard
basically i want to inform customers of the next date their card will be charged in my UI
Then you can configure the "Upcoming renewal events" in above screenshot too. It will send you a webhook events
so basically every month customers will be billed on a particular date for their subscription right, i want to show customers that info
like what date is my subscription going to charge me next
Yes, correct. You can based on the webhook events generated by above option. You can choose "3 days" or "7 days" etc...
Im not sure if webhooks would be the best way to get this info
the billing date
i get that customers will be reminded
but i also want an api call so that i can show this info on the frontend
Yes the "Upcoming renewal events" on my screenshot is the setting to trigger a webhook event to your server