#swegram

1 messages · Page 1 of 1 (latest)

chilly haloBOT
spice maple
#

thank you

versed creek
#

Can you share the details of the request you're trying to make here?

#

What customer ID are you trying to retrieve?

spice maple
#

I receive this message after I have entered the card number and confirmed the payment

#

i have activate the test mode

versed creek
#

this is a public channel, so if those details are sensitive you should remove them

spice maple
#

no it's not sensitive 🙂

#

its a test account

versed creek
#

I don't think the app credentials will help debug this, you need to review your server logs to see what your code is trying to do when that error is thrown

#

Stripe\Customer::retrieve(NULL)

#

That suggests you're trying to retrieve a customer but providing null instead of a valid customer id

spice maple
#

okej thank you, i will check that 🙂 it there any thing else you thing i need to know?

versed creek
#

When creating a Checkout Session in payment mode, the default value of customer_creation has changed from always to if_required.

#

Are you using code you used with an older account, or from somebody else?

spice maple
#

yes i think i have an old version of the code

versed creek
#

If you need to have customer objects, you'll want to explcitly change that to request customer creation always

#

Or change your code to remove the dependency on the customer following Checkout payment