#akshay_code

1 messages Ā· Page 1 of 1 (latest)

fair sigilBOT
wet skyBOT
#

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.

fair sigilBOT
#

šŸ‘‹ Welcome to your new thread!

ā²ļø We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

ā±ļø We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1255549292148691014

šŸ“ Have more to share? Add details, code, screenshots, videos, etc. below.

hardy badger
#

Hello! Watching now...

plain rover
#

client_secret pi_3PVxyWFSVsPYhDti19IElSsQ_secret_HrajP7lhCHdZu9KJYdAF6i1PA

hardy badger
#

There were a number of errors shown at the bottom in that video, but they were all cut off. Do you have the full text of those errors?

plain rover
#

Hello as my colleague mentioned above, can you share more details as we're unable to understand the problem you're describing. Message by hanzo stripe support

What's Paymentscreen in your context? Are you referring to PaymentSheet where you enter card details? Can you share screen recording of what you're seeing?

Additionally, can you print out the PaymentIntent clientSecret when you use it to initialize Payment Sheet? It is possible you're confirming a different PaymentIntent altogether

hardy badger
#

Okay, you should fix that issue, but I doubt it's causing the specific problem you're having. What about the other errors?

plain rover
#

Other wer analytics related error

plain rover
hardy badger
#

Can you log paymentOption and see what it contains?

plain rover
#

Ok

hardy badger
#

Also can you confirm that paymentOption gets logged when you dismiss the PaymentSheet and doesn't happen at another, unexpected time?

plain rover
#

Other time it will be undefined

hardy badger
#

Okay, what about the other errors?

plain rover
#

Which error

hardy badger
#

There was more than one error shown in the video, but you only shared details about one of them.

plain rover
#

There wer 3 warning

  1. Components shuld have a unique key
  2. Return url is missing
  3. Some reactnative analytics error

And at the end route not found error

#

Only the 2nd warning is related to stripe

hardy badger
#

The only activity I'm seeing on our end is the Payment Intent being created by your server. The app isn't doing anything to it after that, which usually indicates you're using either the wrong publishable key or the wrong client secret in your app. You've confirmed both of those are correct? And there are no other errors being logged or raised anywhere?

plain rover
#

I dnt need to make any api call to confirm payment right

#

Im not passing eumepheral key, can it be bcuz of that

hardy badger
#

You only need an ephemeral key if you want to use an existing Customer.

#

Can you show me what your <StripeProvider> code looks like?

#

Can you paste that publishable key here?

#

That is the correct key, it matches the account of the Payment Intent you're trying to use... šŸ¤”

plain rover
#

🄲🄲

hardy badger
#

You mentioned a route not found error, you're sure tha'ts unrelated?

plain rover
#

U can see the condition here

#

That rouute is not available currently hence throwing error

hardy badger
#

Can you show me your initPaymentSheet code?

plain rover
#

Ill tell u the flow
When the component is rendered

  1. client secret generated frm server
  2. intializepaymentsheet is called
  3. when the button in clicked openPaymentSheet is called
  4. payment sheet is loaded
hardy badger
#

Oh, why do you have customFlow set to true?

plain rover
#

It was true in the document, shuld it be false

hardy badger
#

Which doc?

#

That being set to true is why this isn't working.

#

customFlow set to true indicates you have a custom payment flow you want to handle more granularly, and requires additional manual steps on your part before the payment completes. When you have that set, you need to explicitly call confirmPaymentSheetPayment at some point.

#

Can you remove that or set it to false and try again?

plain rover
#

Ok let me check removing it

#

pi_3PVyc0FSVsPYhDti0l19hhou_secret_oqmZeuCqWvnh7TdsDhuIffKdS

#

Can you please check the status for me

#

I could see the continue button turned green this time, which was not happening before

hardy badger
plain rover
#

I wont be able to check since i and frontend developer and dnt have accesss to dashboard

hardy badger
#

You really should have access to the Dashboard so you can view logs and other details. You can always create your own test account separately and develop there.

plain rover
#

If its successful then its fine

hardy badger
#

Test accounts don't need to be activated; test mode will work just fine as soon as you create them.

plain rover
hardy badger
#

I can't check every one for you, no, but you can retrieve the Payment Intent from the API and check its status after you make an attempt.

plain rover
#

Okayy no problem

#

Guess its fixed now

#

Thanks for the help @hardy badger

hardy badger
#

Happy to help!

plain rover
#

Small flag caused alot waste of ur time 🄲