AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: MGBReg on June 23, 2026, 01:30:19 AM

Title: PayPal Webhook?
Post by: MGBReg on June 23, 2026, 01:30:19 AM
If an order is completed in the order status I have 3 messages showing.
1st shows order processing -customer informed Yes
2nd shows order updated by Paypal Webhook request - customer informed NO
Then a third as an order comment - customer informed NO
aypal webhook PAYMENT.CAPTURE.COMPLETED:
Parsed data:
array (
'id' => 'WH-9W783920RW8347217-7MY92303T97475108',
'event_version' => '1.0',
'create_time' => '2026-06-22T02:30:35.472Z',
'resource_type' => 'capture',
'resource_version' => '2.0',
'event_type' => 'PAYMENT.CAPTURE.COMPLETED',
'summary' => 'Payment completed for £ 22.0 GBP',
'resource' =>
array (
'id' => '15339567SV8102825',
'amount' =>
array (
'currency_code' => 'GBP',
'value' => '22.00',
),
'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' => '22.00',
),
'paypal_fee' =>
array (
'currency_code' => 'GBP',
'value' => '1.38',
),
'net_amount' =>
array (
'currency_code' => 'GBP',
'value' => '20.62',
),
),
'status' => 'COMPLETED',
'supplementary_data' =>
array (
'related_ids' =>
array (
'order_id' => '6XJ88443E7700210N',
),
),
'payee' =>
array (
'email_address' => '*****@*****.org',
'merchant_id' => 'T2L9Y4HJ6UDV6',
),
'create_time' => '2026-06-22T02:30:30Z',
'update_time' => '2026-06-22T02:30:30Z',
'links' =>
array (
0 =>
array (
'href' => 'https://api.paypal.com/v2/payments/captures/15339567SV8102825',
'rel' => 'self',
'method' => 'GET',
),
1 =>
array (
'href' => 'https://api.paypal.com/v2/payments/captures/15339567SV8102825/refund',
'rel' => 'refund',
'method' => 'POST',
),
2 =>
array (
'href' => 'https://api.paypal.com/v2/checkout/orders/6XJ88443E7700210N',
'rel' => 'up',
'method' => 'GET',
),
),
),
'links' =>
array (
0 =>
array (
'href' => 'https://api.paypal.com/v1/notifications/webhooks-events/WH-9W783920RW8347217-7MY92303T97475108',
'rel' => 'self',
'method' => 'GET',
),
1 =>
array (
'href' => 'https://api.paypal.com/v1/notifications/webhooks-events/WH-9W783920RW8347217-7MY92303T97475108/resend',
'rel' => 'resend',
'method' => 'POST',
),
),
)

Any Ideas?
Title: Re: PayPal Webhook?
Post by: Basara on June 23, 2026, 03:01:25 AM
Hello.
Can you clarify what the actual issue is?
Title: Re: PayPal Webhook?
Post by: MGBReg on June 23, 2026, 03:42:51 AM
I do not think there is an issue. The code shows in a customers order Status/comments box

If it is nothing I need to worry about that is fine.

Thanks for coming back to me Basara

Paul