Created
March 8, 2016 14:09
-
-
Save andresams/ce8de6b2f4ea322517b9 to your computer and use it in GitHub Desktop.
Exemplo de como os dados das preferências são enviados para a API do Mercado Pago
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
Array | |
( | |
[client_id] => 277949545368493 | |
[client_secret] => tLT5X4mXvu3QjmAbPgymzFdeLha4WkyR | |
[amount] => 306.8 | |
[reason] => Pedido-15842 | |
[currency_id] => BRL | |
[payment_method_id] => visa | |
[payer_email] => santosmanu123@gmail.com | |
[external_reference] => 15842 | |
[installments] => 1 | |
[access_token] => APP_USR-277949545368493-030807-4b42200982406cf1d9c51e9af8db85ba__G_E__-187454905 | |
[card_token_id] => 68c21e164a423e9201d5f3f5be968ce3 | |
[items] => Array | |
( | |
[0] => Array | |
( | |
[id] => 2129 | |
[title] => Body Aruba - Escolha o Tamanho : Único - veste do 36 ao 42 | |
[category_id] => fashion | |
[quantity] => 1 | |
[currency_id] => BRL | |
[unity_price] => 99.90 | |
[picture_url] => http://www.donnashape.com/img/p/1/1/6/8/9/11689.jpg | |
) | |
[1] => Array | |
( | |
[id] => 2135 | |
[title] => Body Ibirapuera Preto - Escolha o Tamanho : Único - veste do 36 ao 42 | |
[category_id] => fashion | |
[quantity] => 1 | |
[currency_id] => BRL | |
[unity_price] => 190.00 | |
[picture_url] => http://www.donnashape.com/img/p/1/1/7/3/4/11734.jpg | |
) | |
) | |
[payer] => Array | |
( | |
[name] => Elias | |
[surname] => Miranda | |
[email] => santosmanu123@gmail.com | |
[phone] => Array | |
( | |
[area_code] => 13 | |
[number] => 33625103 | |
) | |
[identification] => Array | |
( | |
[type] => CPF | |
[number] => 31459596897 | |
) | |
[address] => Array | |
( | |
[zip_code] => 11713520 | |
[street_name] => Rachel De Queiroz 1204 | |
[street_number] => 1231 | |
) | |
[date_created] => 2016-03-08T08:43:59-0300 | |
) | |
[notification_url] => https://www.donnashape.com/mercadoc/retornoc.php | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment