Last active
August 13, 2020 08:37
-
-
Save horlah/e9d1aa26fb55d0f8bad634e924652e31 to your computer and use it in GitHub Desktop.
Setting supported payment method using Payment Request API
This file contains hidden or 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
| const paymentDetails = { | |
| displayItems: [ | |
| { | |
| label: 'Anvil L/S Crew Neck - Grey M x1', | |
| amount: { currency: 'USD', value: '22.15' } | |
| },{ | |
| label: 'Anvil L/S Crew Neck - Blue L x1', | |
| amount: { currency: 'USD', value: '22.15' } | |
| } | |
| ], | |
| total: { | |
| label: 'Total due', | |
| amount: { currency: 'USD', value : '22.15' } | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment