We were refunding a transaction when the ruby gem's refund response returned false when asked if it was successful? There was no error message from Authorize.
Any ideas why it would return false on a successful transaction? I have the transaction ID avaliable, but I don't want to post it publically.
Sample code
authorize_auth = gateway.refund(amount, self.authorize_transaction_id, {:card_number => digits})
if authorize_auth.success?
#do things
else
Rails.logger.error("Text:" + authorize_auth.message.to_s )
end
11-13-2013 07:41 AM - edited 11-13-2013 07:46 AM
Hello kcol
It doesn't look like anyone has responded yet, but someone still may have feedback on what you're looking for. I'd recommend subscribing to this topic so that you'll be alerted via email if anyone else from the community is able to respond with any comments. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies to your post.
Thanks,
Richard
11-15-2013 02:46 PM