#antoineb_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1430599119138979982
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- antoineb_api, 2 days ago, 4 messages
Let me take a look.
thanks!
Looking at req_y9JMK6e3KL1iBC, mandate_data is provided. However, it's not provided for req_P4gNv3yfZFrYLH which is why the error is being returned.
but is it something that is provided by the stripe SDK or should we manually provide it?
Looking into it.
hello synthrider ๐
hey there, just stepping in to take over for my teammate who needs to step away
ok!
I was also researching and it seems we didn't have to provide that parameter in the first request, is was provided by stripeJS (mandate_data).
In the second request, it seems stripe sdk just stopped sending it. Is this a bug?
Trying to figure this out.
Can you please share your Elements/Stripe.js initialization code snippets? And also the confirmation code?
sorry, I don't have access to it right now, I'd have to ask a front dev to do it
can I send it tomorrow?
From what I can see, it lookings like you're calling confirmPaypalPayment() (ref) rather than confirmPayment using payment element or Express Checkout Element. Is that right?
indeed
ah, ok. Yes you can ask again once you have access to this, but you might want to open a support case so we can work on investigating: https://support.stripe.com/contact
ok thank you.
I found the code that trigger the confirmation:
onSuccess: async (result: CreatePaymentIntentMutationResult) => {
const { client_secret: clientSecret } = result;
stripeRequest(
() =>
stripe.confirmPayPalPayment(clientSecret, {
return_url: returnUrl,
payment_method: payPalData?.payPalPaymentMethodId ? payPalData.payPalPaymentMethodId : {},
}),
({ paymentIntent, error }) => {
captureEvent({
message: 'PayPal Tracking: Promise of payment intent',
level: 'info',
extra: { hasPaymentIntent: !!paymentIntent, error },
});
setPaymentInfos({
stripePaymentMethodId: getPaymentMethodId(paymentIntent),
stripePaymentIntentId: paymentIntent?.id,
preauthorizationSkipped: !!potentialValidation.skipPreauthorization,
});
createPotential({
hasMembership,
config,
shouldSendPrices: !isCleaning,
});
},
so yes, I don't use PaymentElement (not yet, but we're migrating)
is it something linked to the fact that we don't use payment element you think?
Possibly, though it does not appear that you were using it before (for the example success) either
Is this intermittent, or always failing for you?
And do you have a sense of when the errors started?
it started the 8th of october
yeah, we never used PaymentElement, so it does not explain wwhy it started failing
it is now always failing. it started the 8th of october
Ok thanks, looking into this more
(still looking at this, digging into some logs)
okay, thanks
Hey just a quick update that we do think something went wrong here around that time and we're investigating.
You may receive some outreach from Stripe about this and it could take some time to resolve
But thank you for raising this!
thanks a lot for your time and involvment!!! ๐
I see you're offline now, but if you don't receive information about this please use the link I will have our bot send you to open a case for us to respond via email as we work through this.