ecommunlimited Posted October 13, 2016 Share Posted October 13, 2016 Hello all, I'm running v2.3.4 BSr with Apache, PHP 7 and MySQL 5.6 I'm using Charity Round Up in my checkout process and it works perfect when I tested it with Check/Money Order and Will Call With Credit Card Info. The add-on can be seen here: http://addons.oscommerce.com/info/6073. Now I'm testing it with PayPal Express Checkout and it's not showing the donation or total correctly while at PayPal, nor does it on the return from PayPal. I tested the same product so everything would match like, price, weight, address, etc. Below you can see it came out right using Check/Money Order and Will Call With Credit Card Info from my site in one order. Then you'll see how it shows up in another order at PayPal. It shows the Donation to Charity @ $0.75 and the Total @ $1.98 USD. The donation should $0.77 and the Total should be $2.00. I'm not worried about the Tax: @ $0.06 or the Shipping and handling: @ $0.27 because in terms of tax they equate to $0.08 which is correct for my tax zone and tax rate. And lastly you'll see the return from PayPal. There isn't any mention of the donation and the Total is $1.23. So $2.00 (which would be correct) minus the donation of $0.77, leaves $1.23. As you can see PayPal completely wiped out the donation when it processed the payment. Does anyone have any idea why or what's wrong? Is there a change I need to make somewhere? I can do the work, I just need to know what to do. Some help would be appreciated. ============================================================= On my site viewing the order and, from Orders Processed.Using my Checkout button, the order shows as it should.1 x Benchmaster BenchMaster Field Spikes $1.00Sub-Total: $1.00Discount (test1): -$0.10Shipping (Economy : 0.7 lbs.): $0.25Donation to Charity: $0.77Ohio Local Sales Tax: $0.08Total: $2.00 -------Order Total: $2.00=============================================================Leaving my site using the PayPal Express Checkoutbutton the order shows up at PayPal as this:Benchmaster BenchMaster Field Spikes $1.00Item number: 2451Item price: $1.00Quantity: 1Discount (test1) $-0.10Item price: $-0.10Donation to Charity $0.75Item price: $0.75Quantity: 1Item total: $1.65Tax: $0.06Shipping and handling: $0.27 ------- Total $1.98 USD=============================================================Returning to my site after PayPal Express Checkoutthe order shows up in the Order Processed as this:1 x Benchmaster BenchMaster Field Spikes $1.00Sub-Total: $1.00Discount (test1): -$0.10Shipping Economy : 0.7 lbs.: $0.25Ohio Local Sales Tax: $0.08Total: $1.23 -------Order Total: $1.23 Thank you Bill Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 18, 2016 Share Posted October 18, 2016 Only the paypal express module in the paypal app works correctly with discounts. So if you are not using that addon, you will need to install it. I am not familiar with the addon you are using so I can't say if it will work with the Express code as is, though I am not aware of any properly written discount modules not working with the Express module from the app. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
ecommunlimited Posted October 18, 2016 Author Share Posted October 18, 2016 Hello @@Jack_mcs, I will install the PayPal App if it is needed but, the discount isn't what I'm having a problem with. My problem is with the donation to charity. The discount mod I'm using and the donation to charity mod both work flawlessly when I DON'T use PayPal Express. Even when I do use PayPal Express, my discount mod works accordingly as you can see from my earlier post. Somewhere in the mix with PayPal the donation first gets altered by them, and then deleted while processing and on the return. That's why I was wondering if it's a PayPal Issue or a osC mod issue. I looked at the PayPal App files before I asked for help here and I called PayPal too. I couldn't see a whole lot of difference between the PayPal App (Express code) and the regular Express code. I did see a lot of reference to the App in the code but, I didn't notice a whole lot of different functionality in the code. But I'm not a coder so that means nothing. Bill Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 18, 2016 Share Posted October 18, 2016 You said the amount passed to paypal is incorrect. That is a common problem with the old, pre-App, modules. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.