Closed omh closed 12 years ago
Hi,
thanks for the report! It looks indeed like refunding with WorldPay is completely broken at the moment. I was starting to investigate this last week.
Do you have any more information by chance on how to get this fixed best? I do have a test account available for remote tests, but I'm not familiar with their API yet. Would you be willing to submit a pull request for a fix?
Any more help you can provide would be greatly appreciated!
Thanks, Dennis
There is a remote test for refunds, and I'm pretty sure it was working when I originally coded the functionality. Of course, it may be incorrect/insufficient, so that's no guarantee that this hasn't always been broken.
I can look into the functionality, but it's going to have to wait until I can get Worldpay to get my test account working again. Worldpay is... aggravating to deal with.
Hey Nathaniel,
I have spoken to WorldPay support last week, and after a few days of going back and forth they did provide me with a test account. If you send me a quick email to dennis@jadedpixel.com I can forward you my test account information.
Thanks a ton!
Dennis
I actually have a test account, which I'd prefer to use, but it's somehow gone stale. I'll ping you if I can't get it back up and running in a reasonable amount of time.
I have a working Worldpay account set up so I'm happy to work on this fix and put together a pull request.
Go for it - I'll drop a note here if I get a chance to work on it at all myself.
thanks a lot, much appreciated!
Added a fix + test in pull request 426
Looking at the Worldpay gateway it would seem refunds are not possible due to:
success_from fails on the inquire request as the inquire returns CAPTURED for the status, not AUTHORISED and it does not have an :ok field. So as far as I can see refunds will never work, or am I missing something here?