dolibarr 21.0.0-beta
paybox.lib.php File Reference

Library for common paybox functions. More...

Go to the source code of this file.

Functions

 print_paybox_redirect ($PRICE, $CURRENCY, $EMAIL, $urlok, $urlko, $TAG)
 Create a redirect form to paybox form.
 

Detailed Description

Library for common paybox functions.

Definition in file paybox.lib.php.

Function Documentation

◆ print_paybox_redirect()

print_paybox_redirect ( $PRICE,
$CURRENCY,
$EMAIL,
$urlok,
$urlko,
$TAG )

Create a redirect form to paybox form.

Parameters
float$PRICEPrice
string$CURRENCYCurrency
string$EMAILEMail
string$urlokUrl to go back if payment is OK
string$urlkoUrl to go back if payment is KO
string$TAGFull tag
Returns
int 1 if OK, -1 if ERROR

Definition at line 41 of file paybox.lib.php.

References $conf, dol_decode(), dol_now(), dol_print_date(), dol_print_error(), dol_syslog(), getDolGlobalString(), and top_httphead().