[2026-07-27 10:26:07] local.INFO: Received PayPal webhook {"payload":{"id":"WH-2W4672689C027274V-27265397H8510381T","event_version":"1.0","create_time":"2026-07-27T10:25:58.476Z","resource_type":"sale","event_type":"PAYMENT.SALE.COMPLETED","summary":"Payment completed for A$ 12.0 AUD","resource":{"amount":{"total":"12.00","currency":"AUD","details":{"subtotal":"12.00"}},"payment_mode":"INSTANT_TRANSFER","create_time":"2026-07-27T10:25:53Z","custom":"603","transaction_fee":{"currency":"AUD","value":"0.59"},"billing_agreement_id":"I-38NA7F83PMDY","update_time":"2026-07-27T10:25:53Z","protection_eligibility_type":"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE","protection_eligibility":"ELIGIBLE","links":[{"method":"GET","rel":"self","href":"https://api.sandbox.paypal.com/v1/payments/sale/7G931434MB832033T"},{"method":"POST","rel":"refund","href":"https://api.sandbox.paypal.com/v1/payments/sale/7G931434MB832033T/refund"}],"id":"7G931434MB832033T","state":"completed","invoice_number":""},"links":[{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-2W4672689C027274V-27265397H8510381T","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-2W4672689C027274V-27265397H8510381T/resend","rel":"resend","method":"POST"}]}} 
[2026-07-27 10:26:10] local.ERROR: Error handling PayPal webhook {"error":"SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect decimal value: 'AUD' for column `apipixel_hasanat_be`.`transactions`.`amount` at row 1 (Connection: mysql, SQL: insert into `transactions` (`transaction_id`, `payment_gateway`, `status`, `amount`, `currency`, `payer_id`, `payer_email`, `payment_method_type`, `gateway_response`, `ip_address`, `net_amount`, `donation_id`, `updated_at`, `created_at`) values (WH-2W4672689C027274V-27265397H8510381T, paypal, completed, AUD, AUD, ?, ?, card, {\"amount\":{\"total\":\"12.00\",\"currency\":\"AUD\",\"details\":{\"subtotal\":\"12.00\"}},\"payment_mode\":\"INSTANT_TRANSFER\",\"create_time\":\"2026-07-27T10:25:53Z\",\"custom\":\"603\",\"transaction_fee\":{\"currency\":\"AUD\",\"value\":\"0.59\"},\"billing_agreement_id\":\"I-38NA7F83PMDY\",\"update_time\":\"2026-07-27T10:25:53Z\",\"protection_eligibility_type\":\"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE\",\"protection_eligibility\":\"ELIGIBLE\",\"links\":[{\"method\":\"GET\",\"rel\":\"self\",\"href\":\"https:\\/\\/api.sandbox.paypal.com\\/v1\\/payments\\/sale\\/7G931434MB832033T\"},{\"method\":\"POST\",\"rel\":\"refund\",\"href\":\"https:\\/\\/api.sandbox.paypal.com\\/v1\\/payments\\/sale\\/7G931434MB832033T\\/refund\"}],\"id\":\"7G931434MB832033T\",\"state\":\"completed\",\"invoice_number\":\"\"}, 173.0.80.117, AUD, 603, 2026-07-27 10:26:10, 2026-07-27 10:26:10))"} 
[2026-07-27 12:18:08] local.INFO: Received PayPal webhook {"payload":{"id":"WH-8H5544401T460083K-8F2245240D8765812","event_version":"1.0","create_time":"2026-07-27T12:17:53.979Z","resource_type":"sale","event_type":"PAYMENT.SALE.COMPLETED","summary":"Payment completed for $ 50.0 USD","resource":{"amount":{"total":"50.00","currency":"USD","details":{"subtotal":"50.00"}},"payment_mode":"INSTANT_TRANSFER","exchange_rate":"1.41060002772","create_time":"2026-07-27T12:17:26Z","custom":"189","transaction_fee":{"currency":"USD","value":"1.50"},"receivable_amount":{"currency":"AUD","value":"68.41"},"billing_agreement_id":"I-9XLX24MPCD35","update_time":"2026-07-27T12:17:26Z","protection_eligibility_type":"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE","protection_eligibility":"ELIGIBLE","links":[{"method":"GET","rel":"self","href":"https://api.sandbox.paypal.com/v1/payments/sale/2X991798GL3473900"},{"method":"POST","rel":"refund","href":"https://api.sandbox.paypal.com/v1/payments/sale/2X991798GL3473900/refund"}],"id":"2X991798GL3473900","state":"completed","invoice_number":""},"links":[{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-8H5544401T460083K-8F2245240D8765812","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-8H5544401T460083K-8F2245240D8765812/resend","rel":"resend","method":"POST"}]}} 
[2026-07-27 12:18:10] local.ERROR: Donation not found for subscription {"subscription_id":"I-9XLX24MPCD35","donation_id":"189"} 
[2026-07-27 15:12:28] local.INFO: Received PayPal webhook {"payload":{"id":"WH-7BX52447C4841931D-7KP564824W886641D","event_version":"1.0","create_time":"2026-07-27T15:12:17.680Z","resource_type":"sale","event_type":"PAYMENT.SALE.COMPLETED","summary":"Payment completed for A$ 400.0 AUD","resource":{"amount":{"total":"400.00","currency":"AUD","details":{"subtotal":"400.00"}},"payment_mode":"INSTANT_TRANSFER","create_time":"2026-07-27T15:12:13Z","custom":"605","transaction_fee":{"currency":"AUD","value":"9.90"},"billing_agreement_id":"I-P0VYJ2VD2M9A","update_time":"2026-07-27T15:12:13Z","protection_eligibility_type":"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE","protection_eligibility":"ELIGIBLE","links":[{"method":"GET","rel":"self","href":"https://api.sandbox.paypal.com/v1/payments/sale/1NW33042LV136973S"},{"method":"POST","rel":"refund","href":"https://api.sandbox.paypal.com/v1/payments/sale/1NW33042LV136973S/refund"}],"id":"1NW33042LV136973S","state":"completed","invoice_number":""},"links":[{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-7BX52447C4841931D-7KP564824W886641D","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-7BX52447C4841931D-7KP564824W886641D/resend","rel":"resend","method":"POST"}]}} 
[2026-07-27 15:12:29] local.ERROR: Error handling PayPal webhook {"error":"SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect decimal value: 'AUD' for column `apipixel_hasanat_be`.`transactions`.`amount` at row 1 (Connection: mysql, SQL: insert into `transactions` (`transaction_id`, `payment_gateway`, `status`, `amount`, `currency`, `payer_id`, `payer_email`, `payment_method_type`, `gateway_response`, `ip_address`, `net_amount`, `donation_id`, `updated_at`, `created_at`) values (WH-7BX52447C4841931D-7KP564824W886641D, paypal, completed, AUD, AUD, ?, ?, card, {\"amount\":{\"total\":\"400.00\",\"currency\":\"AUD\",\"details\":{\"subtotal\":\"400.00\"}},\"payment_mode\":\"INSTANT_TRANSFER\",\"create_time\":\"2026-07-27T15:12:13Z\",\"custom\":\"605\",\"transaction_fee\":{\"currency\":\"AUD\",\"value\":\"9.90\"},\"billing_agreement_id\":\"I-P0VYJ2VD2M9A\",\"update_time\":\"2026-07-27T15:12:13Z\",\"protection_eligibility_type\":\"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE\",\"protection_eligibility\":\"ELIGIBLE\",\"links\":[{\"method\":\"GET\",\"rel\":\"self\",\"href\":\"https:\\/\\/api.sandbox.paypal.com\\/v1\\/payments\\/sale\\/1NW33042LV136973S\"},{\"method\":\"POST\",\"rel\":\"refund\",\"href\":\"https:\\/\\/api.sandbox.paypal.com\\/v1\\/payments\\/sale\\/1NW33042LV136973S\\/refund\"}],\"id\":\"1NW33042LV136973S\",\"state\":\"completed\",\"invoice_number\":\"\"}, 173.0.80.116, AUD, 605, 2026-07-27 15:12:29, 2026-07-27 15:12:29))"} 
[2026-07-27 16:15:48] local.INFO: Received PayPal webhook {"payload":{"id":"WH-3C75825558343514R-46R67114718638109","event_version":"1.0","create_time":"2026-07-27T16:15:40.089Z","resource_type":"sale","event_type":"PAYMENT.SALE.COMPLETED","summary":"Payment completed for A$ 200.0 AUD","resource":{"amount":{"total":"200.00","currency":"AUD","details":{"subtotal":"200.00"}},"payment_mode":"INSTANT_TRANSFER","create_time":"2026-07-27T16:15:36Z","custom":"629","transaction_fee":{"currency":"AUD","value":"5.10"},"billing_agreement_id":"I-WCJSX2BW2HWY","update_time":"2026-07-27T16:15:36Z","protection_eligibility_type":"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE","protection_eligibility":"ELIGIBLE","links":[{"method":"GET","rel":"self","href":"https://api.sandbox.paypal.com/v1/payments/sale/56877283EL978510X"},{"method":"POST","rel":"refund","href":"https://api.sandbox.paypal.com/v1/payments/sale/56877283EL978510X/refund"}],"id":"56877283EL978510X","state":"completed","invoice_number":""},"links":[{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-3C75825558343514R-46R67114718638109","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-3C75825558343514R-46R67114718638109/resend","rel":"resend","method":"POST"}]}} 
[2026-07-27 16:15:51] local.ERROR: Error handling PayPal webhook {"error":"SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect decimal value: 'AUD' for column `apipixel_hasanat_be`.`transactions`.`amount` at row 1 (Connection: mysql, SQL: insert into `transactions` (`transaction_id`, `payment_gateway`, `status`, `amount`, `currency`, `payer_id`, `payer_email`, `payment_method_type`, `gateway_response`, `ip_address`, `net_amount`, `donation_id`, `updated_at`, `created_at`) values (WH-3C75825558343514R-46R67114718638109, paypal, completed, AUD, AUD, ?, ?, card, {\"amount\":{\"total\":\"200.00\",\"currency\":\"AUD\",\"details\":{\"subtotal\":\"200.00\"}},\"payment_mode\":\"INSTANT_TRANSFER\",\"create_time\":\"2026-07-27T16:15:36Z\",\"custom\":\"629\",\"transaction_fee\":{\"currency\":\"AUD\",\"value\":\"5.10\"},\"billing_agreement_id\":\"I-WCJSX2BW2HWY\",\"update_time\":\"2026-07-27T16:15:36Z\",\"protection_eligibility_type\":\"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE\",\"protection_eligibility\":\"ELIGIBLE\",\"links\":[{\"method\":\"GET\",\"rel\":\"self\",\"href\":\"https:\\/\\/api.sandbox.paypal.com\\/v1\\/payments\\/sale\\/56877283EL978510X\"},{\"method\":\"POST\",\"rel\":\"refund\",\"href\":\"https:\\/\\/api.sandbox.paypal.com\\/v1\\/payments\\/sale\\/56877283EL978510X\\/refund\"}],\"id\":\"56877283EL978510X\",\"state\":\"completed\",\"invoice_number\":\"\"}, 173.0.80.116, AUD, 629, 2026-07-27 16:15:51, 2026-07-27 16:15:51))"} 
[2026-07-27 16:17:30] local.INFO: Received PayPal webhook {"payload":{"id":"WH-7LU10496VS975272J-7UA29207VE066510V","event_version":"1.0","create_time":"2026-07-27T16:17:14.712Z","resource_type":"sale","event_type":"PAYMENT.SALE.COMPLETED","summary":"Payment completed for $ 50.0 USD","resource":{"amount":{"total":"50.00","currency":"USD","details":{"subtotal":"50.00"}},"payment_mode":"INSTANT_TRANSFER","exchange_rate":"1.41060002772","create_time":"2026-07-27T16:15:55Z","custom":"185","transaction_fee":{"currency":"USD","value":"1.50"},"receivable_amount":{"currency":"AUD","value":"68.41"},"billing_agreement_id":"I-FD7D1HANN2TA","update_time":"2026-07-27T16:15:55Z","protection_eligibility_type":"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE","protection_eligibility":"ELIGIBLE","links":[{"method":"GET","rel":"self","href":"https://api.sandbox.paypal.com/v1/payments/sale/74238584E6548632Y"},{"method":"POST","rel":"refund","href":"https://api.sandbox.paypal.com/v1/payments/sale/74238584E6548632Y/refund"}],"id":"74238584E6548632Y","state":"completed","invoice_number":""},"links":[{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-7LU10496VS975272J-7UA29207VE066510V","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-7LU10496VS975272J-7UA29207VE066510V/resend","rel":"resend","method":"POST"}]}} 
[2026-07-27 16:17:32] local.ERROR: Donation not found for subscription {"subscription_id":"I-FD7D1HANN2TA","donation_id":"185"} 
