...
Code Block |
---|
<iframe onLoad={() => setIframeLoaded(true)} data-testid="apple-pay-payment-form" title="Apple Pay Payment Form" style={{ width: '500px', height: '500px', border: 'none', visibility: iframeLoaded ? 'visible' : 'hidden', position: 'absolute', clipPath: 'inset(121px 30px 316px 0px)', // important property to cut the iframe top: '128px', transform: 'scale(1.00)', // important property to increase button size }} src={paymentLink} /> |
Info |
---|
There is the possibility of adding the cut values within a feature flag so that it can be changed dynamically if the paycomet iframe changes some position fields. |
CommitOrder
It necessary to handle this payment with backendCommitOrder. Example: use-paycomet-pay-link-popup/use-paycomet-pay-link-popup.ts (line 144)
...