You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The payment request will contain (among other things)
A set of supported payment methods
Optional request data that is specific to one or more payment methods
An efficient way to pass this data in the payment request is to use an array of objects, each containing important request data and each indicating which payment method the data applies to.
An example would like this:
[{"methods" : ["bobspay.com","visa+tokenized","visa+legacy","mastercard"],"data" : {//Data in here is relevant if any of the above methods is used.}},{"methods" : ["bobspay.com"],"data" : {//Put some data in here that is relevant for bobspay.com payments only}},{"methods" : ["bitcoin"],"data" : {//Put some data in here that is relevant for bitcoin payments only (like the BTC price)}}]