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