gpt4 book ai didi

android - 错误 : INTERNAL_SERVICE_ERROR in Paypal Android SDK

转载 作者:行者123 更新时间:2023-11-30 02:59:36 24 4
gpt4 key购买 nike

我在我的 Android 应用程序中集成了 android Paypal SDK,这里我有我的客户端 ID 并在我的代码中使用,当我开始使用 paypal“用卡支付”交易并使用 4111 1111 1111 1111 和 5555 5555 5555 4444 但我总是收到错误消息。我无法追查原因,有什么建议吗??

错误日志:

03-30 15:01:17.442    1491-1520/com.example.paypaldemo.app W/E﹕ T SN:14 PayPal-Debug-Id header: 902b48df2f324
03-30 15:01:17.446 1491-1520/com.example.paypaldemo.app E/paypal.sdk﹕ request failure with http statusCode:500,exception:org.apache.http.client.HttpResponseException: Internal Server Error
03-30 15:01:17.454 1491-1520/com.example.paypaldemo.app E/paypal.sdk﹕ request failed with server response:{"name":"INTERNAL_SERVICE_ERROR","message":"An internal service error has occurred","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#INTERNAL_SERVICE_ERROR","debug_id":"902b48df2f324"}
03-30 15:01:17.466 1491-1491/com.example.paypaldemo.app E/PayPalService﹕ INTERNAL_SERVICE_ERROR
03-30 15:01:17.642 1491-1491/com.example.paypaldemo.app W/EGL_genymotion﹕ eglSurfaceAttrib not implemented
03-30 15:01:18.262 1491-1517/com.example.paypaldemo.app W/E﹕ N SN:16 PayPal-Debug-Id header: 46b25b2a17eff
03-30 15:01:32.874 473-487/system_process D/﹕ HostConnection::get() New Host Connection established 0xb910ea88, tid 487
03-30 15:01:33.174 112-280/? W/audio_hw_primary﹕ out_write() limiting sleep time 44149 to 23219

代码:

PayPalPayment payment = new PayPalPayment(new BigDecimal("1.75"), "USD", "hipster jeans",
PayPalPayment.PAYMENT_INTENT_SALE);

Intent intent = new Intent(this, PaymentActivity.class);

intent.putExtra(PaymentActivity.EXTRA_PAYMENT, payment);

startActivityForResult(intent, 0);

截图:enter image description here

最佳答案

我通过使用 Paypal 提供的信用卡号和到期日期简单地解决了这个问题,并且成功了!

关于android - 错误 : INTERNAL_SERVICE_ERROR in Paypal Android SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22745994/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com