omarzina / substruct

Automatically exported from code.google.com/p/substruct
0 stars 0 forks source link

Paypal cart has one item with total cost instead of number of items and item cost #168

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add 3 of a product to the cart
2. Checkout, enter information
3. Redirect to PayPal site see error

What is the expected output? What do you see instead?

Expected output is that each item should have a quantity and the unit price 
correctly transmitted.  Substruct transmits the total price and one unit 
quantity.

What version of the product are you using? On what operating system?

1.0.a7 on Ubuntu

Please provide any additional information below.

I have fixed the problem.  Please replace your 
app/views/store/_paypal_cart.rhtml file with the one attached.

Regards,

Nate Lowrie

Original issue reported on code.google.com by solodex2...@gmail.com on 21 Feb 2009 at 1:10

Attachments:

GoogleCodeExporter commented 8 years ago
I think the original reason for putting them all together was to overcome some 
subtle paypal limitation--might be worth investigating closely before applying 
:)
-=r

Original comment by rogerdp...@gmail.com on 21 Feb 2009 at 2:25

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
It has worked for me just fine with more than 50 orders so far and is 
completely 
within the parameters in the PayPal integration documents.  I have had this 
patched 
for about 2 months now.

Original comment by solodex2...@gmail.com on 21 Feb 2009 at 7:38

GoogleCodeExporter commented 8 years ago
There may have been an original reason for this [like...it didn't add in 
shipping or
taxes right].  Still worth examining before committing.
Cheers!
-=r

Original comment by kirbso...@gmail.com on 11 Apr 2009 at 11:27

GoogleCodeExporter commented 8 years ago
maybe didn't accomodate for negative entries, either [?]

Original comment by rogerdp...@gmail.com on 12 Sep 2009 at 2:02

GoogleCodeExporter commented 8 years ago
Roger did you ever investigate this fully?

Original comment by subim...@gmail.com on 28 Aug 2010 at 2:17

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Would like to know if this patch works with promotions.

Promotions use negative values to offset the entire order. Doubtful PayPal 
handles this?

Original comment by subim...@gmail.com on 28 Aug 2010 at 4:22

GoogleCodeExporter commented 8 years ago
Just tested this with PayPal.

Orders without promotions show separate line items.
Ones with promotions that have a negative amount value combine items.

Original comment by subim...@gmail.com on 31 Aug 2010 at 6:20