# Apple pay not showing on mobile safari on checkout with payment link

**URL:** <https://developer.squareup.com/forums/t/apple-pay-not-showing-on-mobile-safari-on-checkout-with-payment-link/8988>\
**Category:** Questions\
**Tags:** checkout-api\
**Created:** [March 24, 2023, 9:13pm UTC](https://developer.squareup.com/forums/t/apple-pay-not-showing-on-mobile-safari-on-checkout-with-payment-link/8988 "2023-03-24T21:13:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmxit](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@dmxit](https://developer.squareup.com/forums/u/dmxit)\
**Post date:** [March 24, 2023, 9:13pm UTC](https://developer.squareup.com/forums/t/apple-pay-not-showing-on-mobile-safari-on-checkout-with-payment-link/8988/1 "2023-03-24T21:13:12Z")

</div>

Hi,

I’ve enabled apple pay but it’s not appearing on the iphone using safari web browser.

It’s enabled in the payment link.

```
     $quick_pay = new \Square\Models\QuickPay(
        $plan_friendly_name,
        $price_money,
        $location_id
     );

     $accepted_payment_methods = new \Square\Models\AcceptedPaymentMethods();
     $accepted_payment_methods->setApplePay(true);
     $accepted_payment_methods->setGooglePay(true);

     $checkout_options = new \Square\Models\CheckoutOptions();
     $checkout_options->setSubscriptionPlanId($plan_id);
     $checkout_options->setAskForShippingAddress(false);
     $checkout_options->setAcceptedPaymentMethods($accepted_payment_methods);

     $body = new \Square\Models\CreatePaymentLinkRequest();
     $body->setIdempotencyKey(guidv4($customer_company));
     $body->setDescription($customer_company);
     $body->setQuickPay($quick_pay);
     $body->setCheckoutOptions($checkout_options);
     $body->setPrePopulatedData($pre_populated_data);

     $api_response = $client->getCheckoutApi()->createPaymentLink($body);

```

Regards,  
dmxit

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [March 24, 2023, 9:58pm UTC](https://developer.squareup.com/forums/t/apple-pay-not-showing-on-mobile-safari-on-checkout-with-payment-link/8988/2 "2023-03-24T21:58:29Z")

</div>

Do you have an example link? 🙂

---

<div class="post-metadata">

**Author:** ![dmxit](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@dmxit](https://developer.squareup.com/forums/u/dmxit)\
**Post date:** [March 24, 2023, 10:02pm UTC](https://developer.squareup.com/forums/t/apple-pay-not-showing-on-mobile-safari-on-checkout-with-payment-link/8988/3 "2023-03-24T22:02:07Z")

</div>

> [@Bryan-Square](#):
>
> k

Try this.

[https://square.link/u/7vvcsRO3](https://square.link/u/7vvcsRO3)

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [March 24, 2023, 10:03pm UTC](https://developer.squareup.com/forums/t/apple-pay-not-showing-on-mobile-safari-on-checkout-with-payment-link/8988/5 "2023-03-24T22:03:28Z")

</div>

Oh, this is for a subscription. You can’t save a card on file with Apple Pay and Google pay which is necessary for subscriptions and that’s why it’s not showing. 🙂

---

<div class="post-metadata">

**Author:** ![dmxit](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@dmxit](https://developer.squareup.com/forums/u/dmxit)\
**Post date:** [March 24, 2023, 10:06pm UTC](https://developer.squareup.com/forums/t/apple-pay-not-showing-on-mobile-safari-on-checkout-with-payment-link/8988/6 "2023-03-24T22:06:44Z")

</div>

> [@Bryan-Square](#):
>
> criptions and that’s why it’s not showin

Ah, that makes sense.

Thanks for looking into this.
