Ich integriere Paypal in mein Projekt. Ich speichere Karte im Paypal Tresor. Es funktioniert gut. Aber das Laden einer gespeicherten Karte funktioniert überhaupt nicht. Hier ist was ich versucht habe.Das Laden einer im Tresor gespeicherten Karte funktioniert nicht im Paypal-Sandbox-Modus
Die URL i
https://api.sandbox.paypal.com/v1/payments/payment
Die Header i
Content-Type : application/json
Authorization : Bearer A101.cckgmkChgGI1jLstRxxxxxxxx
und der Körper
{
"intent":"sale",
"payer": {
"payment_method":"credit_card",
"funding_instruments":[
{
"credit_card_token":{
"credit_card_id":"CARD-62T3953xxxxx",
"payer_id":"user12345"
}
}
]
},
"transactions":[
{
"amount":{
"total":"125",
"currency":"USD"
},
"description":"This is test payment"
}
]
}
und die Antwort gesendet am Schlagen i immer bin
{
"name": "INTERNAL_SERVICE_ERROR",
"information_link": "https://api.sandbox.paypal.com/docs/api/#INTERNAL_SERVICE_ERROR",
"debug_id": "aa518e23593df"
}
und die gegebene Information Link funktioniert nicht
Niemand kennt die Antwort, ich warte immer noch :( –