-
Notifications
You must be signed in to change notification settings - Fork 476
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
RCP Member Discount getting doubled when checking out with PayPal #7163
Comments
@misulicus discovered the following: Replicated with a standard EDD product of 4.99 and a member discount of 10% Did some debugging in paypal stadard and on these lines is where the discount gets set to $1 this is my testing block
and that returns so |
@dgoldak Can you replicate without member discounts but using Discounts Pro or something that adds a negative fee to it? |
@cklosowski I confirmed Discounts Pro works properly with PayPal: |
Tested PayPal Express |
Closing this in favour of #6837 . Pretty sure it's the same issue. |
Original issue but determined to be related to PayPal: https://github.com/easydigitaldownloads/edd-rcp-member-discounts/issues/14
Bug Report
Expected behavior
When a RCP member discount is applied, checkout using PayPal should charge the expected total.
Actual behavior
PayPal either changed the wrong amount or we get error:
Things don't appear to be working at the moment. Please try again later.
I'm not able to replicate PayPal Pro myself due to sandbox issues but here is a screenshot from the customer:
![screenshot-2018-12-06-at-04-39-21](https://user-images.githubusercontent.com/30910807/52493170-703f6a80-2b90-11e9-90d6-4cf7a81313f2.png)
![screenshot-2018-12-06-at-04-40-14](https://user-images.githubusercontent.com/30910807/52493183-76354b80-2b90-11e9-9fa2-3765a2c9c927.png)
In the screenshot, you can see that the Discount in PayPal is wrong, $7 instead of $3.50.
Steps to reproduce the behavior
Information:
PHP Version: 7.1
EDD RCP Member Discounts Version (or branch):
master
EDD Version (or branch):
master
WordPress Version: 5.0
Any other relevant information: Originally reported by a customer.
https://secure.helpscout.net/conversation/718764724/95475?folderId=1847242
Tested with Stripe which works as expected, this issue appears to be specific to PayPal.
The text was updated successfully, but these errors were encountered: