#midnightcrow

1 messages ยท Page 1 of 1 (latest)

formal ingotBOT
cosmic knot
tiny vessel
#

I do see the apple pay button

#

now im wondering why in my code is it not showing up

cosmic knot
#

Okay so we know you have Apple Pay configured correctly. Now do you have Apple Pay turned on for your account?

tiny vessel
#

Let me check

#

stripe dashbaord is taking a really long time to load and I am getting an error in the concole
"(index):1 Unrecognized Content-Security-Policy directive 'prefetch-src'."

cosmic knot
#

Hmmmm ..... ๐Ÿค”

#

I'm not having any issues and I don't see any reports of issues

tiny vessel
#

logged out and back in but still really slow, bare with me and I'll get to the payment settings

#

ok it says apple pay is turned on

#

This is my code to setup the elements

      const paymentElement = this.elements?.create('payment', {
        paymentMethodOrder: ['card', 'apple_pay', 'google_pay'],
        fields: {
          billingDetails: 'never',
        },
        wallets: {
          applePay: 'auto',
          googlePay: 'auto',
        },
      });
cosmic knot
#

Okay there's nothing much there. Can you share a test front-end?

tiny vessel
#

Actually I see it working in safari on a private window, but the popup closes right away with a 400 error and

#

"Could not create Apple Pay session. Please make sure you have registered this Stripe account."

cosmic knot
#

Do you have a registered Apple Pay domain on your Stripe account?

tiny vessel
#

can you show me the docs for that? how do I register my apple pay domain