Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Payflow integration and tokenization

Tags:

paypal

We are planning to integrate to PayPal with following requirements:

  1. We collect card based payments for US customers.
  2. We are planning to integrate with Payflow Gateway with "Sage" as our processor.
  3. We will have customers who will allow us to charge them on a periodic basis (replenishment with Card on file).

Questions:

  1. Is Payflow Gateway suitable for our requirements?

  2. Does Payflow Gateway has a REST based interface? How do we tokenize (card on file) without keeping card numbers with us?

  3. If "reference transaction" is the only way to do Card on file operation, how do we overcome the expiry period (1 year) of referenced transaction?

like image 653
Mukthar Avatar asked Mar 08 '16 07:03

Mukthar


2 Answers

Payflow will do this through the reference transaction feature. For a reference transaction, you will be storing the transaction ID in your database, and the next time you want to charge the customer you will use the same transaction ID instead of passing the card details again.

Usually any transaction ID at Payflow is valid for one year, as per the docs. So in order to overcome that one year restriction, you are supposed to update your database every time with the latest transaction ID.

For example, a customer placed an order today, and you store the Payflow transaction ID in the database. Now suppose you need to charge the customer again after 7 months, then you will get a new transaction ID. This time, update your database with the new transaction ID for the same customer, and this way it will be valid again for another year.

like image 125
Eshan Avatar answered Oct 13 '22 02:10

Eshan


You can do reference transactions (using the returned PNREF) but, like you said, they expire in 1 year. The only workaround for this I've found is to issue a zero-dollar authorization (ZDA) to get a new PNREF but there is some confusion about this with some reports saying that the new PNREF created by the ZDA will only work for 14 days.

The online version of the Payflow Pro Guide now states that the PNREF is good for reference transactions for "12 months and possibly up to 15 months". Unfortunately, that is pretty ambiguous wording that doesn't clear up very much.

like image 3
vividsoup Avatar answered Oct 13 '22 02:10

vividsoup