Created
November 16, 2016 19:30
-
-
Save cristianofromagio/cc0b96d696a8cbeb7b30fdf6509d4ade to your computer and use it in GitHub Desktop.
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
<?xml version="1.0"?> | |
<checkout> | |
<currency>BRL</currency> | |
<items> | |
<item> | |
<id>0001</id> | |
<description>Camarote 5 dias</description> | |
<amount>99999.99</amount> | |
<quantity>3</quantity> | |
</item> | |
<item> | |
<id>0002</id> | |
<description>Combo VIP</description> | |
<amount>150.00</amount> | |
<quantity>5</quantity> | |
</item> | |
</items> | |
<redirectURL>http://localhost:3000/pagamento.html</redirectURL> | |
<reference>COMPRA1234</reference> | |
<receiver> | |
<email>[email protected]</email> | |
</receiver> | |
</checkout> | |
{ | |
email: '[email protected]', | |
token: '611BF238E0004C0BBA3E113E37C83EC9', | |
currency: 'BRL', | |
itemId1: '0001', | |
itemDescription1: 'Camarote 5 dias', | |
itemAmount1: 200.00, | |
itemQuantity1: 5, | |
itemId2: '0002', | |
itemDescription2: 'Combo VIP', | |
itemAmount2: 150.00, | |
itemQuantity2: 3, | |
reference: 'COMPRA123' | |
} | |
https://ws.sandbox.pagseguro.uol.com.br/v2/checkout/ | |
--- | |
return com xml com <code> e <date> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment