awesomemotive / easy-digital-downloads

Sell digital downloads through WordPress
https://easydigitaldownloads.com
GNU General Public License v2.0
868 stars 473 forks source link

3.0 - Orders: Refunding an Amazon payment throws fatal error. #7078

Closed cklosowski closed 2 years ago

cklosowski commented 5 years ago

Bug Report

Expected behavior

When refunding a payment made with Amazon, it should refund at the gateway.

Actual behavior

A fatal error happens stating that the refund method doesn't exist.

Steps to reproduce the behavior

1) MAke a purchase with Amazon 2) Go to edit the order 3) Set the status to refunded, and save the order.

Information (if a specific version is affected):

PHP Version: All

EDD Version (or branch): release/3.0

WordPress Version: All

pippinsplugins commented 4 years ago

I can't get Amazon Payments to work at all anymore. I'm getting the following error when trying to submit checkout:

Error: There was an issue processing your payment. Amazon error: PayWithAmazon\ResponseParser Object ( [response] => Array ( [Status] => 401 [ResponseBody] => Sender AccessDenied Access to OffAmazonPayments_Sandbox.SetOrderReferenceDetails is denied 08ba5026-835b-4869-9ef5-481ab1180c9b ) )

spencerfinnell commented 4 years ago

@pippinsplugins I think that is what is listed here: https://docs.easydigitaldownloads.com/article/936-amazon-payments-common-issues-and-faq

This happens when you have mismatched MWS keys, either using Sandbox keys in a live environment, or Live keys in the sandbox.

I just tried signing up to use Amazon Payments but it seems like they are requiring a credit card a $39.99/month in order to get API keys.