Jump to content

First Data Module Payment Issue


Just Will

Recommended Posts

Hi everyone,

 

I'm using Prestashop 1.6.0.14 and the built-in FirstData module. When trying to process transactions, I noticed an issue. I tried forums, I called our gateway's tech support (Payeezy) and our contact with First Data. They both told me it must be a problem with the module. AVS and [spam-filter] filters are enabled on our gateway. The latter just doesn't get the data.
 
All transactions are accepted, even when the name, [spam-filter] or expiration are incorrect. AVS data are not sent. Our gateway shows received data, like the name and the card number, but not the [spam-filter] or any AVS data. I double checked the firstdata.php file (see attached) and it seems that the [spam-filter] code isn't even sent for validation or retrieved (line 204, and lines 139-152).
 
What seems to be sent is (line 204):
 
$result = $this->_firstDataCall('{"gateway_id": "'.Configuration::get('FIRSTDATA_GATEWAY_ID').'", "password": "'.Configuration::get('FIRSTDATA_PASSWORD').'", "transaction_type": "00", "amount": "'.(float)$cart->getOrderTotal().'", "cc_number": "'.Tools::safeOutput(Tools::getValue('x_card_num')).'", "cc_expiry": "'.(Tools::getValue('x_exp_date_m') < 10 ? '0'.(int)Tools::getValue('x_exp_date_m') : (int)Tools::getValue('x_exp_date_m')).(int)Tools::getValue('x_exp_date_y').'", "cardholder_name": "'.Tools::safeOutput(Tools::getValue('firstdata_card_holder')).'"}');
 
Can anyone please help?

firstdata.php

Link to comment
Share on other sites

  • 8 months later...

Hello,

 

I have almost the same problem.

 

When a customer places an order, on the front office the payment is accepted, on the back office the order status is "payment accepted" BUT the module First Data indicates a "refused" status...
On my First Data account (Payeezy platform), the payment appears but nothing tells me that the paymed is refused or accepted...

 

Do you find a solution to this problem?
 

Link to comment
Share on other sites

That was some time ago but my problem was there was an issue with their documentation. Even though I was using the new version of the application, the data format needed to be the same as the old version, and their documentation said otherwise. But it doesn't seem that you're having the problem I had.

 

If I remember correctly, the gateway (Payeezy) tells you if a payment was accepted with an icon (green if accepted, red cross if not). If you click on the transaction, you'll see the bank response code. Now, you need to understand how this works: the buyer's bank and your gateway are two different entities. If the banks declines the payment, then your gateway declines it as well and the payment obviously doesn't go through. However, there are instances where the bank accepts the payment, but the gateway doesn't, based on your settings and their requirements.

 

Do tests with wrong names, wrong addresses, etc. and look at the bank response codes that Payeezy will provide. Here is the list of codes: https://support.payeezy.com/hc/en-us/articles/203730509-First-Data-Payeezy-Gateway-Bank-Response-Codes. If a payment is accepted by the bank and declined by Payeezy, then change your gateway settings (call a Payeezy agent if you don't know how to. They'll guide you through)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...