Open JoeJasinski opened 12 years ago
Thanks for the report! I'll take a look into this over the coming week or so and report back.
Not sure what to do here. Suggestions? I'll have to take a closer look but wanted to respond here since it's been awhile!
Thank you for all the hard work on this API.
I noticed a slight issue when using the reference_transaction() method. The Payflow gateway would report back to me that I had submitted "Invalid Tender" and the transaction fails.
The payflow docs describe: "Invalid tender type. Your merchant bank account does not support the following credit card type that was submitted."
When I looked at the query parameters that python-payflow-pro was sending to the gateway, I noticed that what it was sending was different from what the docs suggested.
What python-payflow-pro sent to the gateway:
What the PayFlow Pro docs say should be sent:
If you notice, the TENDER="C" parameter is missing from the python payflow-pro generated request.
I was able to force this parameter into the request using a Tender class with a "data" property. However, this feels a bit kludgy. Maybe I'm doing something wrong or using reference transactions incorrectly?
Anyway, just bringing this up here in case it is an API issue. Thanks for reading, Joe