#standup75-applepay-checkout

1 messages · Page 1 of 1 (latest)

fickle sigilBOT
#

Hello! We'll be with you shortly. 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.

quick dock
#

Can you share more details? What kind of charges are you creating: direct, destination, separate charges & transfers?

supple glacier
#

I'm not sure, I create the checkout session using the following code

#
    ui_mode: 'embedded',
    mode: 'payment',
    return_url: returnUrl,
    redirect_on_completion: 'if_required',
    customer: stripeCustomerId,
    metadata: { itListId, userId },
    line_items: [
      {
        price_data: {
          currency: 'USD',
          product_data: {
            name,
          },
          unit_amount: price,
        },
        quantity: 1,
      },
    ],
    payment_intent_data: {
      setup_future_usage: 'on_session',
      transfer_group: `ItList_${itListId}_for_user_${userId}`,
    },
    submit_type: 'pay',
  })
#

I'm pretty sure it's separate charge and transfer

quick dock
#

Yep, that tracks with usage of payment_intent_data[transfer_group]

supple glacier
#

doesn't that mean that I already did that?

quick dock
#

Yes. I was assuming you hadn't since your original message asked if you needed to register

#

Do you have a link to a page where I can create a Checkout Session?

fickle sigilBOT
#

standup75-applepay-ece

supple glacier
#

go https://itlist.com/i/175 and click buy, you'll need to go though email verification before seeing the checkout page

Selling PDFs is so 2010. An ItList is a new digital product that actually converts. Curate what you know into snackable bundles you can share or sell anywhere.

quick dock
#

Do you have a verified test email I can use or a link to a testing environment?

#

If not, could you share the ID of a recent Checkout Session where ApplePay did not show up?

fickle sigilBOT
#

standup75-applepay-checkout

supple glacier
quick dock
#

Okay, I do see Google Pay in Chrome but not Apple Pay on Safari. Still looking

#

Ah, I should have caught this from your code snippet

#

ApplePay can't be used with setup_future_usage so Checkout Sessions will not display this wallet

#

Apple essentially wants customers to see a payment sheet every time they pay with ApplePay for on-session payments

supple glacier
#

ok, I will try without now locally

#

I am not seeing it in safari, but I just added a card to my wallet and never tested apple pay, is there a site I can use to check I am setup correctly?

quick dock
#

You should see ApplePay at the top of the page

#

(note you'll need to open this link in Safari, non private browsing)

#

Also, in order for ApplePay to show up, you'll need to use HTTPS

supple glacier
#

ah https is the problem then

#

will use ngrok

#

still no luck

quick dock
#

You'll need to register the ngrok domain

supple glacier
#

but then it's not a verified domain, so that might be the problem