Integration PayU in Android and iOS

653 views
Skip to first unread message

James

unread,
Jun 24, 2015, 11:27:45 PM6/24/15
to desarrollador...@googlegroups.com
I want to integrate PayU in Android and iOS, but I failed to find the download link of SDK. Would you please to tell me the downlink? Thanks in advance!

ADMIN

unread,
Jun 24, 2015, 11:28:36 PM6/24/15
to desarrollador...@googlegroups.com
Hello James,

We have not a SDK for IOS or Android. In this moment we only have the SDK for Java and PHP and you can use them in your application development. We also have the REST webservices which can be consumed by your application backend.
This is the documentation link for the JAVA and PHP SDK :

http://developers.payulatam.com/es/sdk/payments.html

and this is the documentation link for the REST webservices:

http://developers.payulatam.com/es/api/payments.html

James

unread,
Jun 26, 2015, 8:23:06 AM6/26/15
to desarrollador...@googlegroups.com
Hello ADMIN,

I tried the JAVA SDK in my applcation backend 

Request code:
...
// "Authorization and capture" request
TransactionResponse response;
try {
response = PayUPayments.doAuthorizationAndCapture(parameters);
// You can obtain the properties in the response
if (response != null) {
response.getOrderId();
response.getTransactionId();
response.getState();
if (response.getState().toString().equalsIgnoreCase("PENDING")) {
response.getPendingReason();
}
response.getPaymentNetworkResponseCode();
response.getPaymentNetworkResponseErrorMessage();
response.getTrazabilityCode();
response.getResponseCode();
response.getResponseMessage();
}
} catch (PayUException | InvalidParametersException | ConnectionException e) {
e.printStackTrace();
}
...

Response:
Response:
 <?xml version="1.0" encoding="UTF-8"?><paymentResponse>
  <code>ERROR</code>
  <error>You do not have the required permissions to perform the requested operation. Please contact customer service for additional information.</error>
</paymentResponse>

It seems that I have not the permission, could you tell me what's wrong and how to solve it. 

Thanks.

ADMIN

unread,
Jun 26, 2015, 8:34:08 AM6/26/15
to desarrollador...@googlegroups.com
Hello James,

You don't have permissions to do Web service request. You must comunicate with your sales executive for this activation in your administrative module. If you don't have consultant sales send an email to s...@payulatam.com.


James

unread,
Jun 30, 2015, 11:18:57 AM6/30/15
to desarrollador...@googlegroups.com
Hello, ADMIN,

I read the REST webservices:
http://developers.payulatam.com/es/api/payments.html

Now, my questions is how to post the json data to the WebService. Could you please tell me the usage of the REST WebService? My development language is java and object C++.
Thanks a lot!

Reply all
Reply to author
Forward
0 new messages