Use CHECKOUT.ORDER.APPROVED for simulation

Not sure if it matters which event we use, but at least we are subscribed to this one
This commit is contained in:
Alex P 2021-09-24 17:36:51 +03:00
parent 07b9147174
commit 8c7baac7f9
3 changed files with 28 additions and 14 deletions

View file

@ -145,7 +145,8 @@ return array(
return new WebhookSimulation(
$webhook_endpoint,
$webhook,
'PAYMENT.AUTHORIZATION.CREATED'
'CHECKOUT.ORDER.APPROVED',
'2.0'
);
},