#NikolaKG80
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_VvRHLCAUDCaOEs
I see that in that case you're using our Link product using a saved card maybe? can you describe more abotu how you used that? it's possible the test cards don't work when used that way.
also make sure you used 4000002760003184 actually, not the number you said which is different
I'm not sure that I understand. I said that I used 4000002760003184, which is accurate. Just tried again, req_wPaWYPdLvFH7L8.
The card isn't saved, because it fails every time I try to use it.
I create a deferred_intent using var card = elements.create('payment', { style, defaultValues: { billingDetails: { email, name, phone, } } });
After that I create a payment intent
And extract the client secret.
In frontend I do this:
` const clientSecret = await retrieveStripeClientSecret();
elements.submit();
let result = await stripe.confirmPayment({
clientSecret,
elements,
redirect: 'if_required'
});
`
looks like Link is being used again, can you clarify that?
i..e it seems like maybe you're not manually entering the card number typed into the input but are using a saved card?
I click on New payment method, and enter the card number manually
$payment_intent = $this->stripe->paymentIntents->create([ 'customer' => $this->getStripeCustomerId(), 'setup_future_usage' => 'off_session', 'amount' => $amount, 'currency' => $currency, 'payment_method_types' => ['link', 'card'], ], $this->stripeOptions);
yeah it probably doesn't work if you use the test card that way, through Link.
hopefully there's just a normal input in the PaymentElement to enter the card, or it not, use an incognito window or don't enter your email so your Link account is not used
There is... When I log out from link, I can use that card number
Also I can use 4000002500003155
When I'm logged into link
yeah so it's probably just an interaction between that specific test card and Link
that test card 3184 is weird because it specifically triggers 3D Secure v1, but v1 is not supported in any country any more except India as it's been phased out. Sorry, none of this matters to you, it's just brokenness on our end
try using 4000000000003220 I suppose, or try not using Link