#kd - card decline
1 messages ยท Page 1 of 1 (latest)
sure, no worries.
Can you share the request ID?
req_p72ZtyMn7LOMK9
Ok thanks. Checking
Gotcha yeah we sometimes do validation checks on card update: https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
You saw the decline due to this: https://support.stripe.com/questions/unexpected-1-charge-on-customers-bank-statement
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
If you really want to skip validation you can pass in validate=false to the request
But that "charge" was declined due to excessive retries. looks like you've been trying many times today
So if I pass in validate=false it should work or is it not going to work b/c I've tried too many times today?
That should work because it will skip validation
Ok, last question: how do I pass in validate=false in the request, exactly? I don't see this mentioned in the docs
Yeah it's not in the docs actually because we don't recommend to use it heavily. It might be useful in this specific scenario though
Just pass it in top-level I believe
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
moving it here so that we can keep the context in the same thread ๐
I am trying to pass in validate: false in PHP but I am getting an error. How do I correctly write the syntax to include validate: false in PHP ? error: Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ')' in /home/blink/public_html/testing/test.php on line 40
Line 40 is 'validate' => false,$stripe->paymentMethods->update(
'pm_1KMqzzD76OiRybWDIzu9ZWlJ',
'validate' => false,
['billing_details' => ['address' => ['postal_code' => 'bl12tn']]]
);
I'm not a PHP pro but let's see ๐
could you try moving validate in the array along side billing_details
I can't test it right now. I'd have to do it later. Was just wondering if you had the correct syntax on-hand. The following worked in Ruby:
puts Stripe::PaymentMethod.update(
'pm_1KMqzzD76OiRybWDIzu9ZWlJ',
validate:false,
billing_details: {address: {postal_code: 'T12DK37'}}
)
But not sure how to get it to work in PHP & I can't test it right now - just wondering if you have the syntax availabel;
Unfortunately, we don't have it documented on our public docs. I'd be trial-and-error at this point. Highly likely that it should work once you move it along side billing_details