#fedoraus

1 messages · Page 1 of 1 (latest)

last ospreyBOT
tawny ether
#

hi! well subscriptions by default don't cancel/terminate, they renew forever until you directly call the API to cancel them or if your settings for failed payments cancels them automatically(https://stripe.com/docs/billing/subscriptions/overview#settings) .

if im using stripe for chrome extension, can which kind of success and cancel url i can use?
hmm I don't think you can(like you can't use a chrome-extension:// URL). I would suggest redirecting the user to your website and doing the payment there, not inside an extension(we don't really directly test/support that environment)

trail elm
#

about urls, i mean can i make 2 html pages success url and cancel url paste them in checout session, cuz stripe checkout session opens in chrome window

#

so can i paste like

#

success_url: 'success.html',
cancel_url: 'cancel.html',

tawny ether
#

no, they need to be public, complete https://<domain>/<path> links

trail elm
#

but about subscriptions, i know, that subsriptions dont't cancel/ terminate, but i think stripe has webhook in case of termination of the subscription without renewing the payment, sends me this information.

tawny ether
#

yes, for example we would send a customer.subscription.deleted webhook event when a subscription has been cancelled

trail elm
#

but if subscription exists, but customer doesnt pay for it

#

like he subscribed, paid for it, a month has passed, there is a subscription, but he did not pay for it

tawny ether
trail elm
#

i was talking about unpaid status

#

which event responsible for unpaid status?

restive talon
#

The customer.subscription.updated event would fire to reflect the status field changing

trail elm
#

oh, and which kind of info i can bring from this event??

restive talon