-
Notifications
You must be signed in to change notification settings - Fork 50
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
Enable refunds through gateway #44
Conversation
I'm not sure if this is worth mentioning but I accidentally started testing refunds where my Woo store set to AUD currency and my PayPal Account set to USD and I had my PP account set up so that I had to accept all payments in a different currency. This means all AUD orders were appearing in PayPal as "Unclaimed". When I tried to make a refund on orders that hadn't been "accepted" yet, this resulted in the following notice https://d.pr/i/xfBLou and when I tried making a partial refund I got:
I just wanted to check if this is working as expected or whether we have accounted for this case? I haven't done any code review yet, mostly functional testing. Here are some issues that I've found so far:
I haven't finished testing everything yet but I wanted to share these things while I continue looking at this PR :) |
The two commits address the notices and fatals thrown. (Codestyle will be ok in next commit again) |
Thanks @websupporter I've confirmed those issues have been resolved. This is very close now! From my testing, I found one issue:
To reproduce:
Okay, no worries. It looks like there's just a small PHPCS issue:
|
Thanks for fixing that final thing @websupporter. This looks good to be merged 👍 🚀 |
Fixes #30