mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
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:
parent
07b9147174
commit
8c7baac7f9
3 changed files with 28 additions and 14 deletions
|
@ -145,7 +145,8 @@ return array(
|
|||
return new WebhookSimulation(
|
||||
$webhook_endpoint,
|
||||
$webhook,
|
||||
'PAYMENT.AUTHORIZATION.CREATED'
|
||||
'CHECKOUT.ORDER.APPROVED',
|
||||
'2.0'
|
||||
);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue