@@ -446,6 +446,73 @@ class PaystackWebHookListener
446
446
{
447
447
Log::debug($event->event);
448
448
/* {
449
+ "event":"charge.success",
450
+ "data": {
451
+ "id":302961,
452
+ "domain":"live",
453
+ "status":"success",
454
+ "reference":"qTPrJoy9Bx",
455
+ "amount":10000,
456
+ "message":null,
457
+ "gateway_response":"Approved by Financial Institution",
458
+ "paid_at":"2016-09-30T21:10:19.000Z",
459
+ "created_at":"2016-09-30T21:09:56.000Z",
460
+ "channel":"card",
461
+ "currency":"NGN",
462
+ "ip_address":"41.242.49.37",
463
+ "metadata":0,
464
+ "log":{
465
+ "time_spent":16,
466
+ "attempts":1,
467
+ "authentication":"pin",
468
+ "errors":0,
469
+ "success":false,
470
+ "mobile":false,
471
+ "input":[],
472
+ "channel":null,
473
+ "history":[
474
+ {
475
+ "type":"input",
476
+ "message":"Filled these fields: card number, card expiry, card cvv",
477
+ "time":15
478
+ },
479
+ {
480
+ "type":"action",
481
+ "message":"Attempted to pay",
482
+ "time":15
483
+ },
484
+ {
485
+ "type":"auth",
486
+ "message":"Authentication Required: pin",
487
+ "time":16
488
+ }
489
+ ]
490
+ },
491
+ "fees":null,
492
+ "customer":{
493
+ "id":68324,
494
+ "first_name":"BoJack",
495
+ "last_name":"Horseman",
496
+
497
+ "customer_code":"CUS_qo38as2hpsgk2r0",
498
+ "phone":null,
499
+ "metadata":null,
500
+ "risk_action":"default"
501
+ },
502
+ "authorization":{
503
+ "authorization_code":"AUTH_f5rnfq9p",
504
+ "bin":"539999",
505
+ "last4":"8877",
506
+ "exp_month":"08",
507
+ "exp_year":"2020",
508
+ "card_type":"mastercard DEBIT",
509
+ "bank":"Guaranty Trust Bank",
510
+ "country_code":"NG",
511
+ "brand":"mastercard",
512
+ "account_name": "BoJack Horseman"
513
+ },
514
+ "plan":{}
515
+ }
449
516
}
450
517
*/
451
518
}
0 commit comments