Hi there,
I have created an android application where i'm able to make payments using the POST API /v2/merchant/merchantid/pay?. Before hitting this API there are some more steps like getting the publicKey in return of hitting this API /v2/merchant/merchantid/pay/key? and i get modulus,exponent,prefix etc as response.Later on we generate a PublicKey by passing modulus and exponent.This publicKey helps in encrypting the customer's card with prefix the result i get is a long string of encrytpedCard.
So at the end my question is how to do all this RSA encryption things for getting PublicKey and encryptedCard value in PHP or javaScript ?
For android i'm following this guide which gives me proper results.
I have even searched for all the docs but there are no docs which can help me make payments on a web app.
Please help..!!!