add external modepayment in payment
This commit is contained in:
parent
4bdcb17694
commit
00f839e8b4
@ -629,8 +629,10 @@ if ($ispaymentok)
|
|||||||
}
|
}
|
||||||
$paiement->paiementid = $paymentTypeId;
|
$paiement->paiementid = $paymentTypeId;
|
||||||
$paiement->num_paiement = '';
|
$paiement->num_paiement = '';
|
||||||
$paiement->note_public = 'Online payment '.dol_print_date($now, 'standard').' using '.$paymentmethod.' from '.$ipaddress.' - Transaction ID = '.$TRANSACTIONID;
|
$paiement->note_public = 'Online payment '.dol_print_date($now, 'standard').' from '.$ipaddress;
|
||||||
|
$paiement->payment_id = $TRANSACTIONID;
|
||||||
|
$paiement->payment_site = $paymentmethod;
|
||||||
|
|
||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
$paiement_id = $paiement->create($user, 1); // This include closing invoices and regenerating documents
|
$paiement_id = $paiement->create($user, 1); // This include closing invoices and regenerating documents
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user