#azhar_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/1306935190861643786
๐ 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.
- azhar_error, 2 days ago, 15 messages
- azhar_error, 6 days ago, 13 messages
As per the code after the success of apple pay payment request below block is not executing a all. not getting the console printed. instead getting error
from USA also not working
my collegues are in USA they testing its not working for them
would you mind sharing a PaymentIntent ID?
is it working for you ?
i havent reached till that point @stray kestrel
Can you please try my poc link
is this executing for you?
alert('confirm call executed');
elementsNew,
params: {
payment_method_data: {
billing_details: {
name: 'Jenny Rosen',
}
},
// return_url: 'https://example.com/order/123/complete'
}
});```
this code is wrong
actually never mind
it's not
its dummmy code only. but for my case i havent reached that yet
expressCheckoutElement.on('confirm', async (event) => {
this is not executing for me
ok wait
the problem is the javascript shorthand
you need to pass { elements: elementsNew, //...}
your code is passing {elementsNew:elementsNew}
can you refresh. just pushed this change
Hi @stray kestrel you understood my erorr, right? sorry for messy english
it's working fine now
dont know why its only working for you guys i am not able to test at my end
because you're in India
to test this we dont need sandbox apple account right ?
no
person apple id + live card can be used
by using vpn i will be able to test ? or its need us based apple id account?
yes
you can try browserstack to change your location but I'm not sure it would work
may be my colluges credit cards not supported for apple pay? can be that case
browserstack seems disabled apple pay
button also not visible
yes there is no guaranteed way of testing this from India
oh god
maybe try browserstack + vpn
any specific credet card can i test ?
no not the issue
ok main issue is location only
yep
thanks tonight i will try it with my other colluges then. if you donnt mind can you post me screenshot of this one so i can show them its working from non india location?
alert('confirm call executed');
ok and instead print on console ?
yes if you want
you still have alert
nope. may be cache. can you hardrefresgh
yes now it's working
and the confirmation token was created successfully
never use alerts especially not when you're doing Payments
otherwise it won't work
thnkas
let me know if you need any more help