Help with FirstData

  • Posts: 28
  • Thank you received: 0
11 years 8 months ago #92672

Hello, i am building a website www.jdauphin.com . Site is finished but i have trouble to connect it with FirstData merchant.

Because host (one.com) doesn't have SSL i cant use FirstData plug-in because it doesnt support SIM method.

Documentation of FirstData say that it can be configured through authorize.net plug-in.

Here is documentation

firstdata.zendesk.com/entries/21784193-i...tible-shopping-carts

and

firstdata.zendesk.com/entries/407522

I have configured everything (i think) following this documentation (entered Payment Page ID, Transaction Key, Endpoint URL)

When i try to make purchase i recieve these errors from firstData:

* x_line_item # 1 - Taxable is too long (maximum is 3 characters)
* x_line_item invalid
* x_relay_url : Invalid x_relay_url. Must be the same as configured for the payment page
* x_test_request : Unsupported value used for x_test_request.

I managed to solve some of this errors in authorize.php plug-in file.
But now i get some new errors:

* x_login : No terminals available for this request
* x_type : No payment form section is compatible with the given x_type.

I need to solve this as soon as posible.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #92815

Hi,

I think that you can find answers in that topic:
www.hikashop.com/fr/forum/2-general-talk...-problems.html#72016

Please Log in or Create an account to join the conversation.

  • Posts: 82785
  • Thank you received: 13353
  • MODERATOR
11 years 8 months ago #92864

The authorize plugin is working fine. There is no need to change any code.

* x_login : No terminals available for this request
it means that you didn't enter the correct login id in the configuration options of your authorize.net plugin. You need to check with FirstData regarding that.

* x_type : No payment form section is compatible with the given x_type.
The authorize.net plugin will send either AUTH_CAPTURE or AUTH_ONLY based on the "instant capture" option of the plugin. Both are valid for Authorize.net. If one doesn't work with FirstData, simply toggle that option in the plugin to use the other one.

Please Log in or Create an account to join the conversation.

  • Posts: 28
  • Thank you received: 0
11 years 8 months ago #92876

This is mail i have recieved from FirstData:

Based on the screenshot provided, it appears all the information are filled out correctly: URL, Login ID and Transaction key however the shopping cart does not recognize the x_login as the correct value nor the x_type as either 'AUTH_CAPTURE'or 'AUTH_ONLY'. We would suggest to enable the debugging in Hikashop and send us the copy of the payment log file.

I enabled debugging but it doesnt work.

Please Log in or Create an account to join the conversation.

  • Posts: 82785
  • Thank you received: 13353
  • MODERATOR
11 years 8 months ago #92938

I did an order on your website and I got the HTML form :


Part of the message is hidden for the guests. Please log in or register to see it.


Both the x_login and the x_type are correctly set by HikaShop there. You can send that debug to FirstData.

Please Log in or Create an account to join the conversation.

  • Posts: 28
  • Thank you received: 0
11 years 7 months ago #94522

I have sent the log file to FirstData support, and here is their answer.


From looking at the HikaShop’s support page it appears that you will need to utilize the Auth.net Sim file. You can find more information about that here: firstdata.zendesk.com/entries/21784193-I...tible-Shopping-Carts

A few things to check are to make sure that the x_login you are using is the correct one. For example if you are using API instead of Payment Pages then it is most likely that it wants you to enter the Gateway ID (which can be found in the tasks menu on the homepage by clicking terminals) instead of the Payment Pages ID. However if you are using the Hosted Payment pages then there is something wrong with the way they are being submitted and you will want to discuss this with HikaShop’s technical support, as from all I see you are submitting the information correctly.

I dont know what to do now? Can you help?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82785
  • Thank you received: 13353
  • MODERATOR
11 years 7 months ago #94725

Hi,

You're already using the SIM API of the Authorize.net plugin.
So there is nothing to do in the configuration of the plugin.
Just make sure that you're using the correct ID provided by FirstData. They say that they have several IDs, so maybe you're not using the correct one.
What I can say is that there is no problem with the way HikaShop send the data to FirstData. It's the normal Authorize.net SIM HTML data. So there is nothing to change in our plugin.

The following user(s) said Thank You: bora983

Please Log in or Create an account to join the conversation.

  • Posts: 28
  • Thank you received: 0
11 years 7 months ago #95934

Thanks to FirstData it is working now. The errors was because x_test_request" value="TRUE. This value must be FALSE.

Now i have another problem. The value "item", where product name should be is empty.

FirstData say:
For the product name to show on the checkout page, the name of the product must be sent in the third field for Item Description.

Can that be fixed in this code?

$vars["x_line_item"][]=substr($product->order_product_code,0,30).'<|>'.substr(strip_tags($product->order_product_name),0,30).'<|><|>'.$product->order_product_quantity.'<|>'.round($product->order_product_price,(int)$currency->currency_locale['int_frac_digits']).'<|>'.$has_tax;

Thanks

Last edit: 11 years 7 months ago by Jerome.

Please Log in or Create an account to join the conversation.

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 7 months ago #96038

Hi,

Yes and I guess that the third field is empty: "<|><|>".
So you can use something:

$vars["x_line_item"][]=substr($product->order_product_code,0,30).'<|>'.substr(strip_tags($product->order_product_name),0,30).'<|>'.substr(strip_tags($product->order_product_name),0,30).'<|>'.$product->order_product_quantity.'<|>'.round($product->order_product_price,(int)$currency->currency_locale['int_frac_digits']).'<|>'.$has_tax
Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: bora983

Please Log in or Create an account to join the conversation.

  • Posts: 28
  • Thank you received: 0
11 years 7 months ago #96137

Great, it is working now.

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum