wip payment kind of works with bugs

This commit is contained in:
asus
2024-03-06 13:53:47 +01:00
parent 917d51a097
commit 1661f16aff
15 changed files with 273 additions and 118 deletions

View File

@@ -56,6 +56,14 @@ if (!defined('ABSPATH')) {
class PLGNTLS_class
{
const ACF_CARD_STATE = 'etat_carte';
const ACF_CARD_PAYMENT_METHOD = 'paiement';
const ACF_CARD_PRICE_CHOICE = 'tarif';
const ACF_CARD_PRICE_DELIVERY = 'livraison';
const ACF_CARD_PRICE_TOTAL = 'somme_a_regler';
const ACF_CARD_EXPIRATION = 'fin_de_validite';
const CARD_RENEW_PERIOD = 31; // number of days before expiration when renew card start to be possible
private static $_root_path;
private static $_root_url;