Forums / Addon Payment Modules / Gift Certificate Calculation Not Passed - Custom Payment Module

Gift Certificate Calculation Not Passed - Custom Payment Module

Results 1 to 8 of 8
08 Dec 2011, 12:40
#1
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Gift Certificate Calculation Not Passed - Custom Payment Module

Hi,
We had a Custom Payment module made for a particular bank.

After we upgraded and made some changes we face the following problem.

If order is is worth $100 (example), customer uses gift certificate of $20, the amount shown on the Banks payment page is $80 .

However when customer returns to our website, the order page does not show the calculation of the $20 gift certificate nor it is deleted from the Database.
The order total shown is $100 itself, however you can see we received payment of $80.

Please suggest what could we look into.
09 Dec 2011, 07:35
#2
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Gift Certificate Calculation Not Passed - Custom Payment Module

If somebody suggests the variable we should look into , I'll pass on this info to my developer .
10 Dec 2011, 10:01
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Gift Certificate Calculation Not Passed - Custom Payment Module

It sounds like your custom module is skipping the checkout_process step after payment is collected.
10 Dec 2011, 13:20
#4
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Gift Certificate Calculation Not Passed - Custom Payment Module

Thanks a ton Dr Byte.
Have passed on this information to our Developer
Will get back with the results.

Best Regards
12 Dec 2011, 05:25
#5
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Gift Certificate Calculation Not Passed - Custom Payment Module

Here is the reply I got


"Yes we use check out process here is the code, zen_redirect(zen_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', true, false));"

Please suggest
12 Dec 2011, 06:37
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Gift Certificate Calculation Not Passed - Custom Payment Module

Sorry, but I can't tell you what's wrong with your module by looking at one line of code.

There are several built-in modules as well as addon modules which handle gift certificates just fine. Compare your module against those to figure out what's different and thus what's broken.
12 Dec 2011, 11:01
#7
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Gift Certificate Calculation Not Passed - Custom Payment Module

He says everything is similar to codes used for Paypal.

From what I saw the ot_gv does not pass to the order.

Anything particular we could look into.
16 Dec 2011, 14:12
#8
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Gift Certificate Calculation Not Passed - Custom Payment Module

Dr Byte,
The problem was very much what you stated on your first reply.

"module must be missing checkout_process step "

I had it sorted by another developer.

Thanks a ton

Zencart rocks !!!!!!!!!!