Adyen PHP API Library 5.0.0
Added New contribution guidelines
#134 Add composer.lock
#139 PW-1904 Upgrade checkout API endpoint from v49 to v51
Important note:
Multibanco resultCode changes from Received to PresentToShopper
Example response from v49
{
"additionalData": {
"comprafacil.deadline": "1",
"comprafacil.reference": "111 111 1111",
"paymentMethod": "multibanco",
"refusalReasonRaw": "Setup performed successfully",
"comprafacil.entity": "11111",
"merchantReference": "0001",
"comprafacil.amount": "10.00",
"acquirerCode": "***",
"acquirerReference": "111 111 111"
},
"pspReference": "***",
"resultCode": "Received",
"merchantReference": "0001"
}
Example response from v51:
{
"resultCode": "PresentToShopper",
"action": {
"expiresAt": "2019-12-12T12:55:25",
"initialAmount": {
"currency": "EUR",
"value": 1000
},
"merchantName": "****",
"merchantReference": "0001",
"paymentMethodType": "multibanco",
"reference": "111 111 111",
"totalAmount": {
"currency": "EUR",
"value": 1000
},
"type": "voucher"
}
}