#farshidboroomand

1 messages · Page 1 of 1 (latest)

shell brookBOT
alpine marsh
#

Hi! do you have a direct link to the payment page on your website where you expect to see Apple Pay appearing and it doesn't?

alpine marsh
#

it's because you pass setup_future_usage: "off_session" to save the card; for now we do not support Apple Pay in Checkout when using that option.

neon dawn
#

should I remove this ?

alpine marsh
#

it depends. If you remove it then the card that the customer uses to pay inside Checkout will not be saved to their Customer object in Stripe, and you might be relying on that behaviour.

#

right now though if you use that option the customer can't pay with Apple Pay(but they can pay with a regular card or Link or Google Pay if they're in Chrome and so on). So you'd need to understand the tradeoff.

neon dawn
#

I have also three questions:

  • we’re changing configs on stripe dashboard, and they have no effect on our checkout

  • we should be seeing a ‘payment method’ section, but it doesn’t show on our checkout

  • “Link” always appears on our checkout even if we turn off on stripe

shell brookBOT
neon dawn
#

so basically we disabled Pay with Link from dashboard but it is still showing

#

what we expect is like:

#

but we still have Pay with link

alpine marsh
#

Link is controlled from a different page

#

so I think seeing just card is probably correct in your case

neon dawn
#

I have already had the below config:

'payment_method_types' => ['card'],

#
                    'payment_method_types' => ['card'],
                    'customer' => $customerID,
                    'line_items' => [[
                        'name' => 'LuckyTrip',
                        'description' => $sessionDescription,
                        'images' => [$destinationOriginalImage],
                        'amount' => $dueAmount * 100,
                        'currency' => $this->userTripCheckout->currency_code,
                        'quantity' => 1,
                    ]],
                    'success_url' => $successUrl,
                    'cancel_url' => $cancelUrl,
                    'locale' => app('translator')->getLocale(),
                    'mode' => 'payment',
                    'payment_intent_data' => [
                        'setup_future_usage' => 'off_session',
                    ],
                    'payment_method_configuration_details' => [
                        'id' => env('STRIPE_CONFIG_ID'),
                        'parent' => env('STRIPE_CONFIG_ID'),
                    ],
                    'metadata' => ['user_trip_checkout_id' => $this->userTripCheckout->id,
                                   'checkout_hash' => $checkoutHash,
                                   'country_code' => $countryCode]]);
alpine marsh
#

ah well that's why you only see card 🙂

neon dawn
#

here is my code.

#

should I remove:
payment_method_types and payment_intent_data ?

silver carbon
#

hi! I'm taking over this thread.

#

if you want more payment methods to appear in your Checkout Session, then you need to remove 'payment_method_types' => ['card'],