#devz_error

1 messages · Page 1 of 1 (latest)

naive brookBOT
hushed cargoBOT
#

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.

naive brookBOT
#

👋 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/1253209493232291880

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

thin sparrow
nimble galleon
thin sparrow
#

req_fGSabs7vZESaqj

#

sure

thin sparrow
nimble galleon
#

I think you it's due to passing in invalid url: localhost:3000/account/payments/setup-complete, can you add http: there?

thin sparrow
#

yeah

#

must be that

#

let me check

#

yep

#

youre the man

#

thanks 😄

nimble galleon
#

Happy to help!

thin sparrow
#

Still there ?

nimble galleon
#

Yes, how can I help?

thin sparrow
#

Done

#

A easy mistake by my side

#

Sorry

#

xD

#

BUT YEAH

#

just for knowledge

#

What is the difference

#

between client secret

#

setup_intent=seti_1PTdHuBmeRGfPRT0Qx0q3qds&setup_intent_client_secret=seti_1PTdHuBmeRGfPRT0Qx0q3qds_secret_QKHrnYmnst6SuN6xNOz0W2e4HQO4ieI&

#

setup intent

#

and setup_intent_client_secret

#

What are the uses in each case ?

nimble galleon
thin sparrow
#

yeah

#

but for example

#

in the setup_intent_client_secret

#

There is two inside

#

DO we have to use them at the same time

#

Or must be separated

#

damn

#

is tyhe same one

#

as the setup intent

thin sparrow
#

has setup intent

nimble galleon
#

Can you reword your ask please? Where are you seeing two?

thin sparrow
#
  • client sercret
#

right ?

nimble galleon
#

Yes!

thin sparrow
#

Got it

#

thx

nimble galleon
#

Sure!

thin sparrow
#

Can i ask a last question

#

before you go ?

nimble galleon
#

Sure!

thin sparrow
#

Can i do this with Stripe ?

Show avaiable payment methods, select amount, and make payment.

All customised, without using stripe elements.

What would be the process ?

Create PaymentIntent ? And attach to it payment method and amount ?

What would be the best way to proceed in this case ?

nimble galleon
thin sparrow
#

Yeah

#

But i want to be sure

#

On how to select those payment methods types to the current payment

#

For example visa, paypal or google pay

#

Where do i send that or specify the one the client wants to use ?

#

With the paymentIntent ?

#

Yeah sure

#

I have to attach the id

#

Of the payment method

#

To the payment intent

#

And before that

#

i ahve to show all payment method

nimble galleon
thin sparrow
#

from the customer

nimble galleon
#

Are you meaning to show all payment methods that the customer already has saved?

thin sparrow
#

yea

#

thats the idea

#

to let him choose

#

see the image

nimble galleon
#

You would need to build this by yourself

thin sparrow
#

Yeah

#

No problem

#

I just wanted to know if its possible

#

Ive just understood the flow

nimble galleon
thin sparrow
#

Retrieve all àyment methods from customer

#

Show them by the id

nimble galleon
#

Yeap!

thin sparrow
#

When selected

#

Create payment intent

nimble galleon
#

You got it!

thin sparrow
#

Add to id the id of the payment method and the amount

#

Thats it

#

Thanks .D

nimble galleon
#

Happy to help!

thin sparrow
#

I mean

#

Is it crazy what im trying to do ?

#

Or something new ?

nimble galleon
#

nope, it is a normal request.