当前位置: 动力学知识库 > 问答 > 编程问答 >

ios - 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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: