Add logging for payment intents

This commit is contained in:
David Bomba 2022-06-19 17:39:25 +10:00
parent f5af59e5ca
commit 9fbe81302e

View File

@ -118,6 +118,9 @@ class PaymentIntentWebhook implements ShouldQueue
if(!$payment_hash)
return;
nlog("payment intent");
nlog($this->stripe_request);
if(optional($this->stripe_request['object']['charges']['data'][0]['metadata']['payment_hash']) && in_array('card', $this->stripe_request['object']['allowed_source_types']))
{
nlog("hash found");