Does anyone have any info on this?
It seems that every PayPal order has the same code in the Customer's Order Comment section after the order goes through.
Mostly the orders via PayPal work but for some of them no notification is coming through and they don't show up in the customers order history!
This is what we get: (any ***** is me censoring for security)
Date Added Status Customer Notified
04/19/2024 07:37:03 PM Pending Yes
Date Added Status Customer Notified
04/19/2024 07:37:15 PM Processing No
Customer's order comment
Order updated by Paypal webhook request.
Date Added Status Customer Notified
04/19/2024 07:37:15 PM Processing No
Customer's order comment
Paypal webhook PAYMENT.CAPTURE.COMPLETED:
Parsed data:
array (
'id' => '*************************', <
'event_version' => '1.0',
'create_time' => '2024-04-19T18:37:06.800Z',
'resource_type' => 'capture',
'resource_version' => '2.0',
'event_type' => 'PAYMENT.CAPTURE.COMPLETED',
'summary' => 'Payment completed for GBP 76.14 GBP',
'resource' =>
array (
'id' => '**************',
'amount' =>
array (
'currency_code' => 'GBP',
'value' => '76.14',
),
'final_capture' => true,
'seller_protection' =>
array (
'status' => 'ELIGIBLE',
'dispute_categories' =>
array (
0 => 'ITEM_NOT_RECEIVED',
1 => 'UNAUTHORIZED_TRANSACTION',
),
),
'seller_receivable_breakdown' =>
array (
'gross_amount' =>
array (
'currency_code' => 'GBP',
'value' => '76.14',
),
'paypal_fee' =>
array (
'currency_code' => 'GBP',
'value' => '2.51',
),
'net_amount' =>
array (
'currency_code' => 'GBP',
'value' => '73.63',
),
),
'custom_id' => '***************************',
'status' => 'COMPLETED',
'supplementary_data' =>
array (
'related_ids' =>
array (
'order_id' => '***************',
),
),
'payee' =>
array (
'email_address' => '*****************',
'merchant_id' => '**************',
),
'create_time' => '2024-04-19T18:37:01Z',
'update_time' => '2024-04-19T18:37:01Z',
'links' =>
array (
0 =>
array (
'href' => 'h t t p s : / / api . paypal . com /v2/payments/captures/************',
'rel' => 'self',
'method' => 'GET',
),
1 =>
array (
'href' => ' h t t p s : / / api . paypal . com /v2/payments/captures/**********/refund',
'rel' => 'refund',
'method' => 'POST',
),
2 =>
array (
'href' => 'h t t p s : / / api . paypal . com /v2/checkout/orders/************',
'rel' => 'up',
'method' => 'GET',
),
),
),
'links' =>
array (
0 =>
array (
'href' => 'h t t p s : / / api . paypal . com / v1 / notifications / webhooks-events / **************************',
'rel' => 'self',
'method' => 'GET',
),
1 =>
array (
'href' => 'h t t p s : / / api . paypal . com / v1 / notifications / webhooks-events / ******************** / resend',
'rel' => 'resend',
'method' => 'POST',
),
),
)