Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Authorize only on orders over XX amount: LinkPoint

Authorize only on orders over XX amount: LinkPoint

Locked

Views: 853

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
8 Jul 2008, 9:21 PM
#1
kendur avatar

kendur

New Zenner

Join Date:
Mar 2008
Location:
NW Indiana
Posts:
71
Plugin Contributions:
0

Authorize only on orders over XX amount: LinkPoint

Hi,
When a transaction is proccessed via Credit Card I want to have an Immediate Charge for orders under $250.
If over $250 I want to just Authorize it and process it later after investigation.

I was wondering if this would work and what other files would need to be modified in order to only Authorize CC orders over $250?

In /includes/modules/payment/linkpoint_appi.php on line 402 where it says:
$myorder["ordertype"] = (MODULE_PAYMENT_LINKPOINT_API_AUTHORIZATION_MODE == 'Authorize Only' ? 'PREAUTH': 'SALE');

Add just below it:

if ($chargetotal > 250){
$myorder["ordertype"] = 'PREAUTH';
}

I had a fraudulent transaction for $3100 that occured 5 minutes before Linkpoints auto batch and I was unable to void it. It got through and it took me 3 weeks to clear it up and get my nearly $300 in fees back after I had to make a return as opposed to a void.

Any thoughts or suggestions are appreciated.

Thanks,
Ken

9 Jul 2008, 7:01 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Authorize only on orders over XX amount: LinkPoint

You could try that.

However, you'll need to use $myorder["chargetotal"] instead of $chargetotal

You'll have to do the captures of those authorizations on the linkpoint terminal, not in your Zen Cart, since the options will not show in Zen Cart if the module itself is set to normally do a full charge.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.