#danial_error
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/1311096132356538499
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there
this problem only exists when an existing credit card is used
Does this mean you're using CustomerSessions? https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#save-payment-methods
Interesting, okay. So does that mean you've created your own UI for presenting/listing a customer's saved PMs?
I thin the issue here is you're passing elements when calling confirmPayment but this appears to be blank?
yeah exactly that's the issue but I'm not sure why it's blank?
I don't think we're manually presenting/listing the PMs
I think that's being handled by PaymentElement which is imported from react-stripe-js
You mentioned "When a user uses a card saved on file" but also that you're not using CustomerSessions. How are users selecting a saved card?
hmm I'm trying to figure that out now
ok looks like it's a link thing
when I click on the first button and then click on pay now, that's when I get the error
https://dashboard.stripe.com/logs/req_nF1SEKOwk75WYl?t=1732661413
can you access this?
Hm, I can't reproduce this with Link and the deferred intent flow
Do you have a link to your test mode page where I can try to reproduce on my end?
Well I guess another problem is that I can't really reproduce this locally because I get this following error when I try to click on the use ...4242
Hm, I can't reproduce this either. I'm testing with the 4242 test card + Link as well
It would be helpful if you have a link to a test mode environment where I can try to play with this
Where can I grab this link from?
You'd need to deploy your local code to an externally-accessible server
Ok you can try this link: https://stepful-dbetres-ste-377-uvlbog.herokuapp.com/curricula/ccma/signup/secure-your-spot/ccmadirect
After you go through the flow and make the payment, you can go to this link https://stepful-dbetres-ste-377-uvlbog.herokuapp.com/curricula/ccma/signup/secure-your-spot/reset-session
and then go back to the first link I sent to go through the flow again to get Link to show up
Hmm
I'm not quite sure what's going on here. I was able to reproduce the error initially but was just able to confirm a Link payment: https://dashboard.stripe.com/test/logs/req_XCuJnwW0hbjbg1