Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Need help with authorize.net sim gateway

Need help with authorize.net sim gateway

Locked

Views: 1,592

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
26 Oct 2009, 6:25 PM
#1
ks1qz avatar

ks1qz

New Zenner

Join Date:
Oct 2008
Posts:
6
Plugin Contributions:
0

Need help with authorize.net sim gateway

1.3.8, I haven't upgraded yet.

I have been searching this website for the last 4 days now and can't seem to find what I am looking for.

I have just recently set up a shopping cart using Zen Cart 1.3.8 and my payment gateway is authorize.net sim. everytime there is an order placed, and I check it through Authorize.net, there is no invoice number, which makes it tough when printing out multiple orders to be shipped. Can someone please help me out, I have tried to edit the authorizenet.php 'x_invoice_num' => $_SESSION['customer_id'], and now I get a customer number in the place of the invoice number. What I need is it to automatically update the invoices each time an order is placed, for instance, order #1, order #2, etc.

Thank you for your help.

26 Oct 2009, 7:07 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Need help with authorize.net sim gateway

The AIM module already does that.
Also, the AIM module is much more secure in that it prevents the possibility of customers stealing your authnet account details and prevents them from spoofing transaction confirmations like they could do with the SIM module.

26 Oct 2009, 7:50 PM
#3
ks1qz avatar

ks1qz

New Zenner

Join Date:
Oct 2008
Posts:
6
Plugin Contributions:
0

Re: Need help with authorize.net sim gateway

I understand that, but at this point I am using the SIM. Is there any way you can tell me how to make it work? It does not automatically do it through authorize.net sim.

26 Oct 2009, 7:52 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Need help with authorize.net sim gateway

You could copy the some code from the AIM module into your SIM module. It's only an approximation as the order number can only be guessed since the real number is never assigned until after payment is completed.

26 Oct 2009, 7:57 PM
#5
ks1qz avatar

ks1qz

New Zenner

Join Date:
Oct 2008
Posts:
6
Plugin Contributions:
0

Re: Need help with authorize.net sim gateway

can you let me know what I should do? below are both codes the sim and aim. I have updated the sim to do the customer number, but I can't keep having duplicate orders from the same customer.

authorize.net sim=
'x_invoice_num' => $_SESSION['customer_id'],

Authorize.net AIM=
'x_invoice_num' => (MODULE_PAYMENT_AUTHORIZENET_AIM_TESTMODE == 'Test' ? 'TEST-' : '') . $new_order_id,

26 Oct 2009, 8:36 PM
#6
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Need help with authorize.net sim gateway

Just a simple question,

Is there a reason that you would be required to use the less secure SIM over the AIM module?

26 Oct 2009, 9:06 PM
#7
ks1qz avatar

ks1qz

New Zenner

Join Date:
Oct 2008
Posts:
6
Plugin Contributions:
0

Re: Need help with authorize.net sim gateway

That is what I am being told to use by the company. I didn't help set up the merchant services, I am only trying to help them out and build them a shopping cart that works, compared to their old one.

27 Oct 2009, 3:43 AM
#8
ks1qz avatar

ks1qz

New Zenner

Join Date:
Oct 2008
Posts:
6
Plugin Contributions:
0

Re: Need help with authorize.net sim gateway

I made a mistake when asking my question earlier; what I meant to say is that they currently have a shopping cart running that is using authorize.net sim and they would like to continue where they have left off with the invoice numbers. Can you please let me know what I need to edit in order for that to happen? They would like to start off with invoice number 3230. I apologize for my mistake.

I greatly appreciate any help that can be provided.

Thanks,

Kevin

27 Oct 2009, 4:35 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Need help with authorize.net sim gateway

Change the next order number via Admin->Tools->Store Manager