#Mark Zuckerberg-applepay

1 messages · Page 1 of 1 (latest)

vale jewelBOT
dusky mist
#

Hello, that error is happening because when we reach out to your webserver we get an HTTP 303 redirect. Stripe and Apple require that the URL you supply directly serves the file along with an HTTP 200 response

plush hazel
#

how i can resolve it ?

dusky mist
#

So basically, stripe is reaching out to your server for a file located at https://mo3.media/.well-known/apple-developer-merchantid-domain-association, when we do that, your server responds saying that the file is at a different URL. The server needs to be reconfigured to serve that domain association file directly from the URL.

If you want to simulate the call that Stripe and Apple make, you can use this call

    -H "Accept;" -H "Accept:" \
    -H "Via: https/1.1 usatl4-edge-bx-014.ts.apple.com[11FD071B] (ApacheTrafficServer/6.1.2)" \
    -H "User-Agent: oslopartner Client 1.0" -H "Accept-Encoding: gzip"```
plush hazel
#

can you tell me where i use it ?

signal sparrow
#

Mark Zuckerberg-applepay

#

👋 hopping in here - give me a few mi nutes to catch up

plush hazel
#

take your time

signal sparrow
plush hazel
#

no problem

#

what i can do now?

signal sparrow
#

You need to fix it so it no longer redirect and is accessible

plush hazel
#

i put the file here

#

public_html/.well-known/apple-developer-merchantid-domain-association

signal sparrow
#

You need to debug this part yourself - there's a lot of different ways to serve the file, and I'm not famliar with FIle Manager to be able to troubleshoot that specifically

plush hazel
#

thank you ❤️

#

now apple pay is active ?

signal sparrow
#

awesome! Yes, that should be all you need to get apple pay working on the web

plush hazel
#

can you tell me how i can create payment link on my domain now ?

signal sparrow
#

Do you mean a Payment Link or are you trying to use the Payment Request button?

plush hazel
#

i want create a payment link with apple pay payment or visa card

#

like this one with apple pay

signal sparrow
#

As far as I know there is not way to create a Payment Link that uses your own domain - this is only possible with Checkout Sessions. Are you trying to actually use Payment Link with your own domain, or are you just trying to use Payment LInks in general?

plush hazel
#

i want stripe payment link with apple pay

signal sparrow
#

Gotcha - then you just need to make sure Apply Pay is enabled at https://dashboard.stripe.com/test/settings/payment_methods and then you can create Payment Links at https://dashboard.stripe.com/test/payment-links or through the dashboard

plush hazel
#

apple pay now showing

#

not**

#

just visa

signal sparrow
#

Ah - are collecting tax automatically with your payment link?

plush hazel
#

yes

#

ohhh thank you ❤️

#

now it's working ❤️ ❤️ ❤️ thank you so much

signal sparrow
#

👍 If you do want to collect tax automatically you can still get apply pay as long as you enable "Collect customers' addresses" and choose "Billing and Shipping addresses"

plush hazel
#

Is it possible to create a page for the terms and laws, in which the laws are approved and then transferred to payment?

signal sparrow