Platform Metadata
The following metadata information should be added to Affirm during checkout initialization for any platform integration. These are a hash of keys to values in addition to other metadata information that should be passed in the checkout object.
Attribute | Description | Example |
---|---|---|
platform_type | Name of the platform. | "platform_type": "Magento". |
platform_version | Version number of the platform. | "platform_version": "2.2.3" |
platform_affirm | Version number of the Affirm extension. | "platform_affirm": "Affirm_1.0" |
affirm.checkout({
"merchant": {
.....
},
.....
"metadata": {
"platform_type": "<Channel Name>",
"platform_version": "<Channel Version>",
"platform_affirm": "<Channel Extension Version>",
}
});
Updated 4 months ago