2 posts / 0 new
Last post
theodorebellas5323
GET Tokenization / JSONP

Your GET endpoint for tokenization responds with JSONP. I need it in JSON, as my integration is being written in PHP and JSONP is not only near-useless to PHP, but also a huge pain to strip all the nonsense out of. Is there any way I can avoid the JSONP callback? Not sure if it helps but I'm using cURL to make the call.


pramodrao2872
Re: GET Tokenization / JSONP

GET API token generation call is a web based call that is intended to be used with Payeezy JS.

https://github.com/payeezy/payeezy_js

Looks like you are trying to generate a token from server using PHP code. For this, we suggest that you use 0$ authorization call from credit call authorize transaction. When you send all the card information along with authorize for 0$, then you will get a JSON response which will have Transarmor token generated for the supplied card.

https://developer.payeezy.com/creditcardpayment/apis/post/transactions