简体   繁体   中英

Paypal credit card transaction not working in sandbox mode

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM