-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Migration updates to fix Localization, uol, and paymentMethod errors on 1.0 > 1.5 #3020
Conversation
Currently working on fixing the last item on this (i.e the refunds issue) |
@impactmass great to hear, thanks for the update |
I haven't tested if this also happens on the main branch but doing a refund on an order processed with Paypal Express gives me this error
|
Units of Length seems to work fine after reset so something is still not right. |
@impactmass I've identified the issue with UOL and added a migration for that. I've been playing around with the refunds for a bit and have not been able to successfully get a refund to process for an order placed and captured on 1.0.0 to refund on this branch. This commit tweaks 76a03de the billing migration a bit, but I'm still unable to process a refund for paypal-express. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we still need a little bit of work to make this work for refunds.
Hmm. On refunds, I tested with Example
Provider, Stripe and AuthNet, and thought the others will follow suit. I'll
have to test with each payment method individually starting with PayPal
Express.
I'll check on the Localisation too. Thanks.
|
@impactmass I did not test with any of those, so it's possible this is an issue exclusively related to Paypal, but I do think in this particular instance it would be good to check each payment provider individually. |
Without even looking at the code I am going to guess that the |
Tested Paypal refunds on both the release branch and |
Tested placing orders on |
Yes. I also tested a few hours ago. Three times with Paypal Express. With refunds working on this branch. I'm going to do another run of tests to be sure that all is working correctly (with all current Payment methods). The reaction/imports/plugins/included/payments-paypal/server/methods/express.js Lines 337 to 340 in b49d5a1
|
@zenweasel @impactmass are you suggesting that it's migrating correctly now? |
I think it was migrating correctly before. I haven't made any change and refunds worked in my tests for PayPal (Flow and Express), Stripe, Example. If you can, test again, and see if you can reproduce the error you got before. Update: I've tested all current payment providers. |
@impactmass I'll run through some tests as soon as I get out of meetings this am |
This worked for me with PayPal Express this am. I think the issues I was experiencing were probably because of the refund not appearing reactively on the order detail action view. My guess is that this is because we do not store refunds, but make a separate call to the payment provider for them with Merging 👍 |
Fixes:
How to test