1. Other instructions
English
  • Chinese
  • English
  • Open API Documentation
  • Payin
    • Payin Order - General
    • Payin Order - India
    • Payin Order - Philippines
    • Payin Order - Indonesia
    • Payin Order - Vietnam
    • Payin Order - Cryptocurrency
    • Payin Order - China
    • Payin Order - Malaysia
    • Payin Order - Pakistan
    • Payin Order - Thailand
  • Payout
    • Payout Order - General
    • Payout Order - India
    • Payout Order - Philippines
    • Payout Order - Indonesia
    • Payout Order - Vietnam
    • Payout Order - Cryptocurrency
    • Payout Order - Malaysia
    • Payout Order - Pakistan
    • Payout Order - Thailand
  • Callback Notification
    • Callback Description
    • Collection Callback
    • Payout Callback
  • Query API
    • Collection Order Query
    • Payout Order Query
    • Wallet Query
  • Examples of encryption and signature
    • Go Language Encryption and Signature Example
    • Python Encryption and Signature Example
    • PHP encryption and signature example
    • Node.js encryption and signature example
    • Environment variables and request body JSON example
    • Java encryption and signature example
  • Other instructions
    • Response Status Description
    • Order Status Description
    • Payment Method List
    • Bank Code List
    • Checkout iframe Copy Function Support Description
    • Backend Login Instructions
  1. Other instructions

Checkout iframe Copy Function Support Description

1. Issue#

After the checkout page is embedded into your iframe, the copy function fails in H5 environments. This is caused by browser security restrictions on clipboard access inside iframes.

2. Required Fix!!!#

1. Add permission to the iframe#


2. If sandbox is used (mandatory)#


3. Key Point:#

Without allow-clipboard-write → copying will definitely fail in H5 environments, including iOS / Android / WeChat browser.

4. Explanation:#

This is a browser security restriction, not a code issue. Adding the above permissions will restore copy functionality.

5. If copying still does not work (troubleshooting):#

If the issue persists after applying the fix, please check:
Whether the page is served over HTTPS (required)
Whether the copy action is triggered by a user gesture (click event)
Whether the parent page is intercepting click/touch events
Whether the iframe is cross-origin (some browsers impose stricter restrictions)

Modified at 2026-05-29 14:37:51
Previous
Bank Code List
Next
Backend Login Instructions
Built with