Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

payment.php conflict with ccgv


Recommended Posts

I had points and rewards installed and working fine. Then I installed ccgv and had some problems at checkout. I uploaded the payment.php file directly from ccgv and it worked fine. However, now I'm getting the "points value are not enough to cover the cost of your purchase" error from the points module.

 

The points instructions say you can skip step 20 which deals with payment.php so there shouldn't be a problem. Any ideas?

Link to comment
Share on other sites

I had points and rewards installed and working fine. Then I installed ccgv and had some problems at checkout. I uploaded the payment.php file directly from ccgv and it worked fine. However, now I'm getting the "points value are not enough to cover the cost of your purchase" error from the points module.

 

The points instructions say you can skip step 20 which deals with payment.php so there shouldn't be a problem. Any ideas?

 

It appears the problem might be here in payment.php

 

if (defined('MODULE_PAYMENT_INSTALLED') && tep_not_null(MODULE_PAYMENT_INSTALLED) {

 

Point works with it this way, but CCGV does not. There was a change left out of the CCGV instructions -

 

// Start - CREDIT CLASS Gift Voucher Contribution

if (defined('MODULE_PAYMENT_INSTALLED') && tep_not_null(MODULE_PAYMENT_INSTALLED) && !$module == 'credit_covers') {

// End - CREDIT CLASS Gift Voucher Contribution

 

After this change, the CCGV works, but points has the error message.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...