Paypal credit card transaction not working in sandbox mode

扶醉桌前 提交于 2019-12-12 23:50:53

问题


I am using paypal ios sdk for payment. I tried to pay with credit card in sandbox mode. I am getting State=pending.It accepts my creditcard details but When I click on charge credit card It procees for that and then I got response from paypal :

{
client =     {
    environment = sandbox;
    "paypal_sdk_version" = "1.3.3";
    platform = iOS;
    "product_name" = "PayPal iOS SDK";
};
payment =     {
    amount = "122.00";
    "currency_code" = USD;
    "short_description" = "Paying to MYAPP";
};
"proof_of_payment" =     {
    "rest_api" =         {
        "payment_id" = "PAY-6SB360568W1073911KLY6KAI";
        state = pending;
    };
};
}

It was working fine in NoNetwork/mockmode. Paypal login is also working in sandbox mode. Does I am missing some thing with credit card?


回答1:


You most likely have Payment Review enabled for the receiving account. To disable this, click the profile link under the account in your sandbox account list and turn off payment review on the settings tab.



来源:https://stackoverflow.com/questions/21574428/paypal-credit-card-transaction-not-working-in-sandbox-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!