A
A
afna2015-10-01 13:04:31
JavaScript
afna, 2015-10-01 13:04:31

How to implement PayOnLine payment system in Android application?

Good day everyone!
I'm trying to write an application with the PayOnLine payment system on Android. Initially, it was planned to make payments through our server. But they abandoned this idea and decided to pay directly from the mobile application. But here's the problem!!! There is no SDK on Android!!! Instead, they suggest using Node.js. But how to use it?
How to implement Node.js on Android? How to use the sample code from the site ?
Repeated calls to support did not work. They only offered to google. That is why I am asking this question here.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Adamos, 2015-10-01
@Adamos

How are you going to make payments directly from the mobile application?
The payment system needs a unique order number, for example.
After payment, she informs the store that the payment for this number went through. How will she communicate this to the mobile app? Does it raise a server that keeps in touch with the PS?
But the requirements of the PS clearly indicate that your site should store the history of operations.
Well, and the introduction of the secret key of the store into an application that is freely distributed is such a good step on a rake ...

A
aol-nnov, 2015-10-01
@aol-nnov

I also marveled at these comrades .. I
see several options:

  • by analogy, looking at the node.js client in java
  • raise your server on a node, and file api
  • write an application on cordova (here I swim a lot) and in general, I don’t support this approach, although this will give one application for all platforms (and a rake, too, respectively, for all platforms)

A
Alexander Kubintsev, 2015-10-01
@akubintsev

I think the most reasonable solution would be to either look for another PS, or write a layer on the web server, which will formally act as an online store for PoL. From the side of the android application, first send a request to generate an order number, then a request with this order number + amount + other to create a payment form ( www.payonline.ru/developers/SDK/php/) and there should be no problems: everything is fan -shuyu, that is, PCI DSS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question