Paypal
Android アプリとの支払いの統合に取り組んでいます。
これは私のPaypal
構成コードです:
private static PayPalConfiguration config = new PayPalConfiguration()
.environment(CONFIG_ENVIRONMENT)
.clientId(CONFIG_CLIENT_ID)
// The following are only used in PayPalFuturePaymentActivity.
.merchantName("Integration Demo")
.merchantPrivacyPolicyUri(Uri.parse(""))
.merchantUserAgreementUri(Uri.parse("https://www.paypal.com/webapps/mpp/ua/useragreement-full"))
.rememberUser(true);
そしてここで私は呼んでいPayPalService
ます:
Intent intent = new Intent(this, PayPalService.class);
intent.putExtra(PayPalService.EXTRA_PAYPAL_CONFIGURATION, config);
startService(intent);
しかし、私は次のエラーが発生しています:
01-11 11:49:19.788 31868-8284/com.packagename E/paypal.sdk: request failed with server response:shutdown
01-11 11:49:19.803 31868-31868/com.packagename E/paypal.sdk: SERVER_COMMUNICATION_ERROR
私はこれを経験しましたが、今まで役に立ちませんでした。