Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi Everybody,

 

I am using Credit Class & Gift Voucher contribution (http://www.oscommerce.com/community/contributions,282/). It is a great and powerful contribution. I am using the latest version(CCGV version 5.16) with "CCGV Easier to Understand Payment Addon v1.2". I also updated the CCGV to "bunch of fixes v1.1 (table/roundoff/etc.) -24 Feb 2006" aviram bugs fix.

 

But I got a serious issue (bug) in this contribution. So I list how this bug created. I think this bug in every install of this great contribution.

 

-------------------------------------------------------------------

Assume I have enable 2Checkout and Cheque payment methods in Admin.

 

Bugs happening activities

----------------------

 

1)When customer in the "checkout_payment.php" page for make payment and has total amount is less than "Gift Voucher" balance and if customer first select 2Checkout(or cheque) as payment method and proceed to "checkout_confirmation.php" and some reason if he decide to go back to "checkout_payment.php" and select Gift Voucher as payment method and proceed to "checkout_confirmation.php" given a problem that that text displayed Playment Method as 2Checkout and also ""Gift Vouchers (-) :$xx.xx" is also displayed. When we check the generated html code we can find the 2Checkout payment module is active and "<input type="hidden" name="x_amount" value="0.00">" and other 2Checkout related hidden fields. So if the user click "Confirm Order" button he will conduct to the 2Checkout page with 0 total amount instead of minus the amount of this Gift Voucher balance.

 

***If the user only select Gift Voucher as his payment method in "checkout_payment.php" page and proceed to "checkout_confirmation.php" page and clicking "Confirm Order" button will reduce the amount of this Gift Voucher balance in correct way.

 

***If the total amount is greater than "Gift Voucher" balance will work correctly and if user select gift voucher and 2Checkout as payment method and proeed to Checkout confirmation page and clicking "Confirm Order" button he will conduct to the 2Checkout page with correct amount.( total amount - gift voucher balance= remaining amount pass for 2CO)

 

---------------------------------------------------------------------------

 

Assume I have only enable 2Checkout payment method in Admin.

 

Bugs happening activities

----------------------

 

1)When customer in the "checkout_payment.php" page for make payment and has total amount is less than "Gift Voucher" balance and if customer select Gift Voucher as payment method proceed to "checkout_confirmation.php" will given a problem that that text displayed Playment Method as 2Checkout and also ""Gift Vouchers (-) :$xx.xx" is also displayed. When we check the generated html code we can find the 2Checkout payment module is active and "<input type="hidden" name="x_amount" value="0.00">" and other 2Checkout related hidden fields. So if the user click "Confirm Order" button he will conduct to the 2Checkout page with 0 total amount instead of minus the amount of this Gift Voucher balance.

 

***If the total amount is greater than "Gift Voucher" balance will work correctly and if user select gift voucher and 2Checkout as payment method and proeed to Checkout confirmation page and clicking "Confirm Order" button he will conduct to the 2Checkout page with correct amount.( total amount - gift voucher balance= remaining amount pass for 2CO)

 

-------------------------------------------------------

 

I don't know what is the problem. I check the all the PHP code related to Gift Voucher contribution but unfortunately I could't resolve the problem. Then I install the old versions of the CCGV. But same problem is there.

 

Unfortunately my site is not in the live system. Still I am developing the site in local environment.

 

So please help me to solve this problem.

 

Thanks for everyone to make this great contribution. thanks.

 

------------

Anuruddha

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...