Reputation: 410
I have created a paypal business account and I want to vault credit cards to accept payments using paypal v.zero library. I have tested everything using a sandbox account but did not work using my paypal business account. I keep getting the following error
{
"creditCardVerification": null,
"transaction": null,
"subscription": null,
"errors":{
"allDeepValidationErrors":[
{"attribute": "payment_method_token", "code": "TRANSACTION_PAYMENT_METHOD_TOKEN_CARD_TYPE_IS_NOT_ACCEPTED", "message": "Payment instrument type is not accepted by this merchant account."…},
{"attribute": "merchant_account_id", "code": "TRANSACTION_PAYMENT_INSTRUMENT_NOT_SUPPORTED_BY_MERCHANT_ACCOUNT", "message": "Merchant account does not support payment instrument."…}
],
"allValidationErrors":[]
},
"parameters":{
"transaction[type]": "sale",
"transaction[payment_method_token]": "xxxxxx",
"transaction[amount]": "1"
},
"message": "Payment instrument type is not accepted by this merchant account.\nMerchant account does not support payment instrument.",
"target": null,
"success": false
}
Upvotes: 2
Views: 337
Reputation: 11
error in "transaction[amount]": "1"
you have pass currency with amount
use "transaction[amount]": {"value":"1.0", "currency":"USD"}
Upvotes: 1