Hi @david,
auto billing recurring invoices still doesn’t work.
Here is the request from the PayPal API log:
{
"intent": "CAPTURE",
"payment_source": {
"card": {
"vault_id": "xxxx",
"stored_credential": {
"payment_initiator": "MERCHANT",
"payment_type": "UNSCHEDULED",
"usage": "SUBSEQUENT"
}
}
},
"purchase_units": [
{
"custom_id": "xxxx",
"description": "xxxx",
"invoice_id": "xxxx",
"amount": {
"value": "xxxx",
"currency_code": "EUR",
"breakdown": {
"item_total": {
"currency_code": "EUR",
"value": "xxxx"
}
}
},
"items": [
{
"name": "xxxx",
"description": "",
"quantity": "1",
"unit_amount": {
"currency_code": "EUR",
"value": "xxxx"
}
}
],
"shipping": {
"name": {
"full_name": "*****"
}
}
}
],
"payer": {
"name": {
"given_name": "*****",
"surname": "*****"
},
"email_address": "*****"
}
}
Response:
{
"id": "xxxx",
"status": "COMPLETED",
"payment_source": {
"card": {
"name": "xxxxxx",
"last_digits": "xxxxxx",
"expiry": "xxxxxx",
"brand": "xxxxxx",
"available_networks": [
"VISA"
],
"type": "xxxxxx",
"bin_details": {
"bin": "xxxxxx",
"bin_country_code": "FI",
"products": [
"CORPORATE"
]
}
}
},
"purchase_units": [
{
"reference_id": "default",
"payments": {
"captures": [
{
"id": "xxxx",
"status": "DECLINED",
"amount": {
"currency_code": "EUR",
"value": "xxxx"
},
"final_capture": true,
"seller_protection": {
"status": "NOT_ELIGIBLE"
},
"seller_receivable_breakdown": {
"gross_amount": {
"currency_code": "EUR",
"value": "xxxx"
},
"paypal_fee": {
"currency_code": "EUR",
"value": "xxxx"
},
"net_amount": {
"currency_code": "EUR",
"value": "xxxx"
}
},
"invoice_id": "xxxx",
"custom_id": "xxxxxx",
"links": [
{
"href": "https://api.paypal.com/v2/payments/captures/xxxx",
"rel": "self",
"method": "GET"
},
{
"href": "https://api.paypal.com/v2/checkout/orders/xxxx",
"rel": "up",
"method": "GET"
}
],
"create_time": "2024-10-17T07:00:07Z",
"update_time": "2024-10-17T07:00:07Z",
"network_transaction_reference": {
"id": "xxxx",
"network": "VISA"
},
"processor_response": {
"response_code": "5650"
}
}
]
}
}
],
"links": [
{
"href": "https://api.paypal.com/v2/checkout/orders/xxxx",
"rel": "self",
"method": "GET"
}
]
}
What do I have to do?