#Wurkzen

1 messages · Page 1 of 1 (latest)

lucid stagBOT
craggy iron
#

hello! gimme a while to go through your question and test some stuff out

outer moss
#

Thanks Alex

craggy iron
#

hmmm, is the underlying issue with the second idea is that the customer has to key in their payment details again?

outer moss
#

No, the issue is that they are redirected to a stripe checkout page again, just minutes later

#

It would be good if somehow we could when they click "proceed" modify the trial and add some end behavior that states at the end of the trial if they csutomer cancels they will be charged $10 ONE TIME FEE

#

if they do not cancel, nothing happens, because its included in the plan

#

We just need a way to do an API call to update the subscription if they click "Proceed" to add some behavior that if they cancel we charge them the $10

#

so we skip having to show them the stripe checkout again

craggy iron
#

i'm still having some trouble envisaging the scenario

To answer your question directly though - there's no such feature to add such a behaviour to the subscription to charge the customer upon cancellation of a trial. What you can do instead though, is if a user cancels the trial, you will listen for the relevant webhook event (or make an API request to your server when the user clicks the button), check if the Subscription is still under trial, and then charge the customer for that $10

you can charge an existing payment method later : https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements#charge-saved-payment-method

Learn how to save payment details and charge your customers later.

#

does that help?

outer moss
#

So in the above case.

  1. If we see that the user purchased a custom domain and they cancel the trial we would
    a. Charge the stored payment method $10 automatically
craggy iron
#

yep

outer moss
#

this works

#

thanks Alex