Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

100% discount #1356

Open
wilokecom opened this issue Apr 19, 2020 · 2 comments
Open

100% discount #1356

wilokecom opened this issue Apr 19, 2020 · 2 comments

Comments

@wilokecom
Copy link

General information

  • SDK/Library version:
  • Environment:
  • PayPal-Debug-ID values:
  • Language, language version, and OS:

Issue description

Hi,
I'm working on 100% discount code, but I can't use it with PayPal.
I added a line item Item and set negative to discount price, but when set 0 to Total, I got Amount cannot be zero

@imemohit
Copy link

Hi,

Well, isn't that true? What will PayPal do if there is no transaction about to be made. You will just pay the fees? Maybe you can just make the paypal fee the amount then.

@DevJMD
Copy link

DevJMD commented May 1, 2020

You'd need to implement an "Order" as a discount-only order in your code rather than leverage PayPal to process it. There's no need for PayPal in this instance. Just take PayPal out of the equation and you have a 100% discounted order. :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants