1
안녕하세요, 내 영어로 죄송합니다 ...페이팔 결제 확인
나는 안드로이드에 대한 페이팔 SDK를 구현했습니다, 잘 작동합니다! 하지만 어쩌면 내 영어 난 내가 여기서 무엇을해야 이해하지는 :
@Override
protected void onActivityResult (int requestCode, int resultCode, Intent data) {
if (resultCode == Activity.RESULT_OK) {
PaymentConfirmation confirm = data.getParcelableExtra(PaymentActivity.EXTRA_RESULT_CONFIRMATION);
if (confirm != null) {
try {
Log.i("paymentExample", confirm.toJSONObject().toString(4));
// TODO: send 'confirm' to your server for verification.
// see https://developer.paypal.com/webapps/developer/docs/integration/mobile/verify-mobile-payment/
// for more details.
} catch (JSONException e) {
Toast.makeText(this, "Ha ocurrido un error, inténtelo de nuevo en unos instantes", Toast.LENGTH_LONG).show();
IrActivityAnterior();
}
}
}
나는 그것에 대해 읽고 있지만 제가 구입 한 사람에게 지급의 증명을 보낼 필요하면 알하지는 내 응용 프로그램 또는이 증거를 얻고 저장해야하는 경우. 그리고 다른 질문은 그것을 어떻게 확인할 수 있습니까? 따라야 할 단계는 무엇입니까 ??
감사합니다. 당신이 예에서 link을 따르는 경우에
좋아,하지만 내가이 코드를 tipe ?? PHP에서? 어떻게 전화를 할 수 있습니까? 컬 https://svcs.sandbox.paypal.com/AdaptivePayments/PaymentDetails \ -H "X-PAYPAL-SECURITY-USERID : USER_ID"\ -H "X-PAYPAL - 보안 - 비밀번호 : 비밀번호" \ -H "X-PAYPAL - 보안 - 서명 : 서명"\ -H "X-PAYPAL 요청-DATA-FORMAT : NV"\ -H "X-PAYPAL 응답-DATA-FORMAT : NV "\ -H"X-PAYPAL-APPLICATION-ID : APP-91B933855X481767M "\ -d"payKey = AP-70M68096ML426802W 및 requestEnvelope.errorLanguage = ko 페이지 " 감사합니다 다시 – user2800899