#krystof_prb-applepay

1 messages ยท Page 1 of 1 (latest)

vague badgerBOT
#

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

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

wooden trail
#

heres the whole popup

<div id="paymentPopup" style="display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); z-index: 1001; justify-content: center; align-items: center;">โ€จ <div style="max-width: 400px; background-color: #fff; padding: 20px; border-radius: 10px; text-align: center;">โ€จ <div id="payment-request-button"></div>โ€จ <p>or pay with your card:</p>โ€จ <form id="payment-form">โ€จ <div id="card-element">โ€จ </div>โ€จ <button id="submit-button" style="background-color: #007bff; color: white; border: none; padding: 10px 20px; cursor: pointer; margin-top: 10px;">Purchase</button>โ€จ </form>โ€จ <button id="closePopup" style="background-color: transparent; border: none; font-size: 20px; cursor: pointer; position: absolute; top: 10px; right: 10px;">ร—</button>โ€จ </div>โ€จ</div>

uneven pecan
#

Hello! What does that mean "whole popup"? I'm sorry I don't really follow what you mean and it's all just HTML without much details

wooden trail
#

for some reason apple pay is showing up on the google app but not on safari or chrome and im just wondering if theres any way to fix that

uneven pecan
wooden trail
#

i see the apple pay button on both safari and chrome

uneven pecan
#

Okay so that confirms ApplePay is configured properly on your machine. Now the next step is to debug your code and see what the API returns when you initialize PaymentRequestButton in your code in Javascript

#

krystof_prb-applepay

wooden trail
#

i actually just tried on another device and it worked fine

uneven pecan
#

yeah ApplePay can be finicky if you try to open it across multiple tabs/URLs it will sometimes just be disabled by default

#

so I think it's likely that and your code works fine

vague badgerBOT
wooden trail
#

hmmm

#

i have both of these

#

but dont see anything that could be causing payment problems, i even cleared my cookies but it still isnt working

earnest nymph
#

Hi @wooden trail I'm taking over this thread

#

Do you have a URL that I can visit to test your Apple Pay integration?

vague badgerBOT
random zinc
#

can you share at a high level what steps are needed to reach the payment page?

#

we want to take a look to see if it works for us

#

๐Ÿค” i guess if it doesn't find any look alikes for the image i used, i won't be able to get to the payment page

#

okay, managed to get the payment page to pop up

wooden trail
#

๐Ÿ‘

random zinc
#

gimme a while, even Google Pay isn't showing too for me

wooden trail
#

the only one that seems to be working right now is apple pay on the google app

#

thank you

random zinc
#

can you register www.footballlookalike.com as a payment method domain also?

wooden trail
random zinc
#

we noticed that you registered for footballlookalike.com . We treat www.footballlookalike.com and footballlookalike.com as two different domains

wooden trail
#

ah

#

ok done

random zinc
#

it works for us now

#

maybe you can try again now too?

wooden trail
#

awesome

#

thank you so much

#

i dont think I ever would have figured that out ๐Ÿ˜‚

random zinc
#

btw, did you intend to allow Google Pay?

#

cause there's this line in your code if (result && result.applePay) { which prevents Google Pay from showing if the person doesn't have applePay

wooden trail
#

i was just trying to get anything to show up ๐Ÿ˜‚ ill remove that now

#

thanks for your help again