The payment method [VISA] is not supported

97 views
Skip to first unread message

gsphilip

unread,
Apr 15, 2016, 6:25:40 PM4/15/16
to Desarrolladores PayU Latam
i have tested the api with the following input
{
    "language":"en",
"command":"SUBMIT_TRANSACTION",
"test":true,
"merchant":{
    "apiKey":"6u39nqhq8ftd0hlvnjfs66eh8c",
    "apiLogin":"11959c415b33d0c"
},
"transaction":{
    "order":{
    "accountId":"509171",
    "referenceCode":"1459910660081509",
    "description":"1 x apple juicy green apple; ",
    "language":"en",
    "signature":"0507902d956f9b72dbd028d648155118",
    "notifyUrl":"http://www.tes.com/confirmation",
    "additionalValues":
    {"TX_VALUE":{
        "value":"1.22",
        "currency":"COP"
    }
    }
    },
    "creditCard":{
        "number":"4111111111111111",
        "securityCode":"123",
        "expirationDate":"2018/01",
        "name":"APPROVED"
    },
    "type":"AUTHORIZATION_AND_CAPTURE",
    "paymentMethod":"VISA",
    "paymentCountry":"CO",
    "deviceSessionId":"5ac46def08454f0da14644635f594532",
    "ipAddress":"110.142.10.159",
    "cookie":"o1cumvena0v2ogmagnl09klj05",
    "userAgent":"Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0"
}
   
}

i get the response
<paymentResponse>
    <code>ERROR</code>
    <error>The payment method [VISA] is not supported</error>
</paymentResponse>

Could you please tell what is wrong

ADMIN

unread,
Apr 15, 2016, 6:56:07 PM4/15/16
to Desarrolladores PayU Latam
Good Afternoon,

First of all, we'd like to thank you for using our forum to publish your doubts.

From what it's possible to observe in the code, you're configuring the accountID parameter as 509171. However, this value represents the country Argentina, and the value you're configuring for the paymentCountry is CO, related to Colombia. So, it's necessary yo select these two parameters consistently. You can, either select the accountID 500238 for Colombia or specify the paymentCountry AR, accordingly to the country you want to test.

We hope this information was useful.


Reply all
Reply to author
Forward
0 new messages