#Naveed | Web3Auth

1 messages · Page 1 of 1 (latest)

wheat marshBOT
vagrant stump
#

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

vague shoal
#

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

vagrant stump
#

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

vague shoal
vagrant stump
#

Then you can configure the "Upcoming renewal events" in above screenshot too. It will send you a webhook events

vague shoal
#

like what date is my subscription going to charge me next

vagrant stump
#

Yes, correct. You can based on the webhook events generated by above option. You can choose "3 days" or "7 days" etc...

vague shoal
#

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

vagrant stump
#

Yes the "Upcoming renewal events" on my screenshot is the setting to trigger a webhook event to your server