Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

paypal ipn and ccgv


compwhizmm90

Recommended Posts

  • 2 months later...
I am using the following paypal ipn contribution http://www.oscommerce.com/community/contri...,all/search,ipn

and ccgv 1.51a. When I enter a coupon code it passes the original amount to paypal not the discounted amount. I have looked on the forums and cannot find a solution. Please help thanks

 

I too had the same problem. Could not figure out how to pass the discount field onto PayPal. I just gave up & AGREGATED my payment instead of listing my items.

 

If anyone figures out, please post.

 

Thanks

Link to comment
Share on other sites

same here

 

 

I too had the same problem. Could not figure out how to pass the discount field onto PayPal. I just gave up & AGREGATED my payment instead of listing my items.

 

If anyone figures out, please post.

 

Thanks

 

 

Ravish Kumar

Edited by The_Bear
Link to comment
Share on other sites

  • 3 years later...

I have modified the PayPal IPN module and developed new one: PayPal IPN for CCGV at:

http://addons.oscommerce.com/info/6775

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

  • 3 months later...
  • 2 months later...

does it work? i have installed it, but no changes. coupons aren't subtracted. any idea? witch version of ccgv do you use?

thank you for help

 

You could try:

 

//fix for coupon deduction not showing at paypal 
  $coupon = '0';
  $gv = '0';
  if($order_total['ot_coupon']) $coupon = $order_total['ot_coupon'];
  if($order_total['ot_gv']) $gv = $order_total['ot_gv'];

  $subtotal = $order_total['ot_subtotal'] - $coupon - $gv;
  // end - fix for coupon deduction not showing at paypal
     //$subtotal = $order_total['ot_subtotal'];  

 

instead of :

$subtotal = $order_total['ot_subtotal'];  

 

in /includes/modules/payment/paypal_ipn.php

Link to comment
Share on other sites

  • 1 month later...

You could try:

 

//fix for coupon deduction not showing at paypal 
  $coupon = '0';
  $gv = '0';
  if($order_total['ot_coupon']) $coupon = $order_total['ot_coupon'];
  if($order_total['ot_gv']) $gv = $order_total['ot_gv'];

  $subtotal = $order_total['ot_subtotal'] - $coupon - $gv;
  // end - fix for coupon deduction not showing at paypal
     //$subtotal = $order_total['ot_subtotal'];  

 

instead of :

$subtotal = $order_total['ot_subtotal'];  

 

in /includes/modules/payment/paypal_ipn.php

Thanks Simon, that worked for me!

 

Regards,

Eric_K

Link to comment
Share on other sites

  • 4 weeks later...

I have Paypal IPN 2.3.3 installed, and the latest CCGV. The correct totals are passed to Paypal, and everything seems to work ok except when the user returns to the store.

The Coupon code is still showing in the Shopping cart. Can someone tell me how/where this gets reset?

Link to comment
Share on other sites

  • 3 weeks later...

Is anyone reading this thread? I need to know what changes are needed to Paypal IPN 2.3.3 with CCGV 5.21 installed.

 

I have tried to merge the checkout_process CCGV changes into my Paypal IPN files, and have failed. Can anyone help ?

Edited by harleyreb
Link to comment
Share on other sites

The only problem I am having is that the coupon code is not adjusted as one being used after it has been used. Where should this be done if using Paypal IPN?? Is it the

$order_total_modules->apply_credit();

function that I see in checkout_process? If so, where should this be done if using Paypal IPN.....???????

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