<head> tag:
Embed
Now you can initialize the SDK and embed the buyer’s payment method form into aniframe on your page:
string
required
The ID of the
iframe element to embed the buyer’s payment method form into.string
required
The
payment_method_embed_url to embed.string
required
The domain of the parent page. This page must be served over HTTPS. Please note that for Apple Pay to work, the parent domain must be added to your merchant account by Manifest. Please contact developer@manifestfinancial.com to begin verifying your domain.
function
The height of the content has changed. The new values are passed in as an object with
width and height properties. Depending on your design, you may need to resize the embedded view to match the new height.function
The buyer has successfully updated their payment method; you can navigate to the next step of your process.
object
An object of customization options to customize the buyer’s payment method form.
Example
Check Digital Wallet Support (optional)
There is an optional function that allows you to check if the buyer’s device supports digital wallets — useful if you’d like to show a different UI based on support.boolean
Whether the buyer’s device supports Apple Pay.
boolean
Whether the buyer’s device supports Google Pay.
boolean
Whether the buyer’s device supports any digital wallets.