#jake-epping_paypal

1 messages ยท Page 1 of 1 (latest)

manic daggerBOT
#

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

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

proven plaza
#

What you mean exactly by it doesn't work?

#

What happens in your integration ?

#

Did you tried to add log lines ?

upper summit
#

I'm trying to do something after passing redirect_url. but all the code after the line with confirm payment doesn't work. I tried to add simple console.log there and saw nothing during the payment

#

it looks that after redirect nothing works

proven plaza
#

What you mean exactly by "redirect" ? Your website is redirected to another Url or what exactly ?

upper summit
#

I mean passing return_url.
this block of code

proven plaza
#

Is there any log error in the console?

#

Did you tried to debug your js code by making break points and follow the process ?

upper summit
#

no errors. Haven't tried breakpoints yet, just checked if something works after the code on the screen. So in your opinion it looks strange and code after payment confirmation should work?

proven plaza
#

It depends on the flow you are following, can't tell much at this point

#

Between What intergatino are you following ?

#

The payment method you are creating has no sense (with just type paypal)

upper summit
#

yeah, I follow this one. Will check this guide one more time and thanks for the information about creating payment method

proven plaza
#

You should remove the createPaymentMethod call and simply confirm the PaymentIntent by passing it's client_secret and a return_url

upper summit
#

ok, I'll try

manic daggerBOT
woven dune
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

manic daggerBOT
#

jake-epping_paypal

royal oarBOT
manic daggerBOT
upper summit
#

one more question. I can't see paypal button (express checkout element) in instagram and fb in-app browsers. Is something wrong from my side ot these browsers are not supported?

humble bluff
#

I think WebViews in general can have compatibility problems, I don't think there's much you can do here as you don't write the code for those WebView implementations

upper summit
#

yeah, that's pity. thanks a lot

upper summit
#

do you have any known issues with WebView and Express Checkout Element? Or I am the first with this problem?)

humble bluff
#

not sure off the top of my head

#

I know for instance Google Pay never works in Webviews; Apple Pay usually does but might not if using certain older implementations

#

there are a bunch of settings the app developer can apply that sandbox/remove JS features in the page inside the WebView

upper summit
#

ok, thanks