#mysterious_pony_85112

1 messages · Page 1 of 1 (latest)

obsidian doveBOT
verbal herald
onyx river
#

Is this what you mean?

verbal herald
#

that would help yes, if you pasted the ID here

onyx river
#

req_Psj5zgGpMcsgid

#

thanks!

#

I did just try again and same issue as you can see

#

this is the new id if it helps

#

req_8ltX2jGEqV3IrU

verbal herald
#

if you look at your API logs what's happening is

  • you create the PaymentMethod
  • you use a SetupIntent to setup the PaymentMethod and attach it to a customer
  • the SetupIntent requires action (3D Secure)
  • you do not do anything with that and don't make the customer complete it
  • you try to just create the Subscription, which fails because the SetupIntent never finished and never attached the PaymentMethod to the customer.
onyx river
#

Do you know why it works the first time and not the second time?

verbal herald
#

not really without looking at an example. Maybe the times it works is when 3D Secure is not required?

onyx river
#

how can i show you an example?

verbal herald
#

but overall your code seems to have problems if you are trying to create this Subscription immediately without actually completing the action so it's likely broken

onyx river
#

is it possible to have a zoom call or something?

verbal herald
onyx river
#

okay will send this

verbal herald
onyx river
#

req_SLOFDUGB60hDWt

#

This is a new one where it has worked and subscribed

verbal herald
#

which you did not do in the other case, so maybe you have a bug and the code for doing that is not always happening.

onyx river
#

But the thing is - it works on my developer in india there computer with cards able to cancel and renew etc

#

its just mine as i am in london maybe?

#

Can i give you login dtails to my stripe?

#

and to the website for you to try?

verbal herald
#

no

#

this is overall you need to work with your developer to debug and you can use test mode API keys and test cards to work through it!

onyx river
#

Okay is there anything else you suggest?

verbal herald
#

my main suggestion is to extensively test in test mode and replicate the issue there, and start from that point

onyx river
#

OKay thanks

#

Do you have a generic code we can use

#

that everyone may use?

#

thanks so much for your help!

slow garden
#

Hi, my colleague had to step away. What code are you looking for exactly?