mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Comment dangerous part for the moment
This commit is contained in:
parent
2c3957dca2
commit
e2ecc3d091
|
|
@ -300,6 +300,8 @@ if ($event->type == 'payout.created') {
|
|||
} elseif ($event->type == 'payment_intent.succeeded') { // Called when making payment with PaymentIntent method ($conf->global->STRIPE_USE_NEW_CHECKOUT is on).
|
||||
// TODO: create fees
|
||||
// TODO: Redirect to paymentok.php
|
||||
|
||||
/* TODO Enable this only if this is a payment of a Dolibarr bon_prelevement only
|
||||
include_once DOL_DOCUMENT_ROOT . '/compta/paiement/class/paiement.class.php';
|
||||
$object = $event->data->object;
|
||||
$invoice_id = $object->metadata->dol_id;
|
||||
|
|
@ -442,6 +444,7 @@ if ($event->type == 'payout.created') {
|
|||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
} elseif ($event->type == 'payment_intent.payment_failed') {
|
||||
// TODO: Redirect to paymentko.php
|
||||
} elseif ($event->type == 'checkout.session.completed') { // Called when making payment with new Checkout method ($conf->global->STRIPE_USE_NEW_CHECKOUT is on).
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user