New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple items for paypal checkout #59
Comments
I'm assuming you're talking about Offsite Paypal integration http://merchant.agiliq.com/offsite/paypal/ In this case, paypal expects the POST contents to have a So, I don't think you can use I think you should keep the breakdown in your templates, just use the total amount as the amount in |
Absolutely. On my templates, I have my items' prices breakdown displayed and only using the 'amount' attribute for my grand total. I don't think it's a good idea to just show an amount w/o the breakdown of items. I'd prefer the user to be able to have another final look on the multiple items they are going to purchase. |
OK, found this link which says it's possible http://stackoverflow.com/questions/3308898/paying-for-multiple-items-at-once-via-paypal Looks like you just need to use Would that work for you? |
Thanks for the link. I just tried passing it using add_fields, no luck. |
@jinxee any luck? This is a good feature to have, so I'll plan it for the next milestone. |
This is an issue with django-paypal - it's payment form has https://github.com/dcramer/django-paypal/blob/master/paypal/standard/forms.py#L57 Should be do-able by overriding the form add adding a formset for multiple items. |
@jinxee Now implemented! Thanks for bringing this to our notice :) |
Is there anyway I can add in multiple items in add_fields?
pay_pal.add_fields({
"business": "paypalemail@somedomain.com",
"item_name": "Test Item",
"invoice": "UID",
"notify_url": "http://example.com/paypal-ipn-handler/",
"return_url": "http://example.com/paypal/",
"cancel_return": "http://example.com/paypal/unsuccessful/",
"amount": 100})
I want to be able to show the price breakdown based on the items an user wants to purchase on the paypal screen.
The text was updated successfully, but these errors were encountered: