...
ApplePayHostedPagePayment
Reference: Technical refinement - Front end
Create a HostedPagePayment following the Paycomet Paypala paycomet-apple-pay-form folder inside the paycomet-hosted-page-payment to create the page to handle the iframe.
Also is necessary to create a new variable "isPaycometApplePayMethodSelected"
in paycomet-hosted-page-payment.tsx (line 509) and include in the PaymentMethod
props, which will be necessary to update the IPaymentMethodProps
interface. After that is necessary to add the page created in this code as well.
...
To capture just the apple pay button, it will be necessary to use some CSS techniques to hide the other payment methods, as the generation of this iframe includes all payment methods enabled on the dashboard.
...