Support async: false for the Refund method
key88sf opened this issue · 4 comments
Calling Shippo::Refund.create(...)
doesn't seem to support the new async: false
parameter that most of the other endpoints now support. Would be very nice to add to this method as well.
@key88sf the Refund endpoint does support the async
attribute, but I've noticed that it's missing in our docs. We will add this documentation - thanks for pointing it out!
Here's a sample Refund call with async: false
:
refund = Shippo::Refund.create(transaction: "<transaction-object-id>", async: false)
Is this sufficient to close this ticket?
Probably -- it's very difficult to test since the shippo sandbox/staging environment does not support the Refund API calls :(
@key88sf we're working on improving the sandbox! You can get updates by subscribing to this Google Group https://groups.google.com/forum/#!forum/shippo-api-announce