Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PW-1904 Upgrade checkout API endpoint from v49 to v51 #139

Merged
merged 1 commit into from
Dec 3, 2019

Conversation

cyattilakiss
Copy link
Contributor

@cyattilakiss cyattilakiss commented Dec 3, 2019

Description
Bump API_CHECKOUT_VERSION from v49 to v51

Important note:
Multibanco response changes from Received to PrestnToShopper

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"
    }
}

@cyattilakiss cyattilakiss merged commit 649a198 into develop Dec 3, 2019
@cyattilakiss cyattilakiss deleted the PW-1904 branch December 3, 2019 13:04
@cyattilakiss cyattilakiss mentioned this pull request Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants