php - PayPal API - CURRENCY_NOT_ALLOWED -
i using php paypal rest api credit card payments , sandbox account , error:
paypal\core\paypalhttpconnection : error: got http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment. { "name":"currency_not_allowed", "message":"currency not supported", "information_link":"https://developer.paypal.com/webapps/developer/docs/api/#currency_not_allowed", "debug_id":"308d4b24ea4b5" }
the "information_link" provide not provide information whatsoever currency_not_allowed , found on page of theirs "more helpful": currency not supported using currency not supported.
the problematic currency nok, while eur seems work fine.
any idea on how fix this?
please check paypal sendbox account address zone. may it's not valid nok. more details can check here :- https://developer.paypal.com/docs/classic/api/currency_codes/
Comments
Post a Comment