#koks_api

1 messages ยท Page 1 of 1 (latest)

wicked spokeBOT
#

๐Ÿ‘‹ 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/1390492156602351757

๐Ÿ“ 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.

crystal arrow
#

hello ๐Ÿ‘‹ you can specify "card" under payment method types for Apple Pay or Google Pay

rose thunder
#

thanks, let me try

crystal arrow
#

hi @rose thunder i saw that you removed the previous message. Are you still facing the same error?

rose thunder
#

sorry, i figured the error which i had mentioned. I'm getting this error now

#

code snippet

crystal arrow
#

Could you share with me the PaymentIntent ID in your log please? Its prefixed with pi_

rose thunder
#

pi_3RgxmGPJyrrClAxy2uBGqKSC_secret_lECTn4NDZiY5qoekmhZB0ykn9

crystal arrow
#

thanks, taking a look

rose thunder
#

pi_3RgxmGPJyrrClAxy2uBGqKSC

#

not sure which one....but you know

crystal arrow
rose thunder
#

above llink is not working for me

#

ECE accept link

crystal arrow
#

Oops sorry, please try again

rose thunder
#

it works now

#

elements.create("expressCheckout", {

paymentMethods: {

googlePay: 'always' 

}

});

#

should i do like this ?

crystal arrow
#

yup, that will display Google Pay when a supported browser is used

rose thunder
#

getting same error "pi_3Rgy20PJyrrClAxy0b1d5l6k".

#

updatd code

crystal arrow
#

hmm yes I still see the same error, give me awhile to run my test

rose thunder
#

ok

crystal arrow
#

at the top of your code snippet, under const options ={ mode: , amount:, currency: }, try adding a line and declare payment_method_types: ['card']

#

the purpose is to make the ECE and the PaymentIntent expects the same payment method

rose thunder
#

ok let me try

#

i just tried and not received any error. Did it go through successfully? pi_3RgyELPJyrrClAxy16UIfOQf

crystal arrow
rose thunder
#

cool. but it failed to redirect my UI

#

my UI looks like this only,

crystal arrow
#

Okay, so what does the failure look like?

rose thunder
#

got redirect error

crystal arrow
#

where is it suppose to redirect to? does the link work?

rose thunder
#

it is the same link from where i initiated booking...you can check the url from screenshot only

crystal arrow
#

From your code snippet, when I visit the raw url https://urbanmop--urbanmodev.sandbox.lightning.force.com/lightning/n/Tets_Stripe_component, its telling me there's a login required which is likely why redirect is not successful. Please try using a page url that doesn't require login to see if the redirect is successful

rose thunder
#

ok, I see. I'll try.

#

Thank you very much for all the help, you had solved all my blockers and made me successfuly implement stripe for this use case. You and your team is amazing, responding promptly and responding to all my basic questions. GreatJob!