Embed in Mobile App
Embed payment management in your mobile app using web views. Note that events are stringified JSON for mobile integrations. See below for specific implementation examples.
Events
Manifest will broadcast events to your application to keep your app informed of changes. Here are the events you can expect:
payment_method_updated
: The buyer has successfully updated their payment method.resize
: The height of the content has changed. Depending on your design, you may need to resize the embedded view to match the new height.
Customization
Since you are not using our SDK, you will need to set the buyer’s payment method form customization options manually. For example:
Embedding
iOS
Manifest will post an event using the userContentController
object you created, with a message containing a stringified JSON event.
Android
Manifest will post an event using the checkoutMessageHandler
object you created, with a message containing a stringified JSON event.
React Native
Manifest will post an event using the onMessage
handler you created, with a message containing a stringified JSON event.
Need Addional Support?
If your application needs a different callback scheme, just let us know.