Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ Surveillance"; echo "

..STRIPE(Prod) / CdeV2 20 dernières commandes

"; echo date('d/m/Y H:i').'
'; if(md5($_REQUEST['admin'])!="3e20fdb3880682a70e9482c30c7451f1") die('Err Auth !'); // \Stripe\Stripe::setApiKey('sk_test_wtOLZRJRmrRm5va5cDWUKeNl'); \Stripe\Stripe::setApiKey('sk_live_jmMEEsrBrru0qcmySOPhViz1'); $lstPaye = \Stripe\PaymentIntent::all(['limit' => 20]); $Class = new ClassCdeV2(); $T = $Class->Surv(); $TB[] = ""; foreach($lstPaye->data as $k=>$dtl) { //$bc = trim($dtl->description); //if(is_array($T[$bc]) ) { $TB[] = ""; $TB[] = ""; $TB[] = ""; $TB[] = ""; $TB[] = ""; $TB[] = ""; $TB[] = ""; $TB[] = ""; $TB[] = ""; $TB[] = ""; //} } $TB[] = "
" . date('d/m/Y H:i:s', $dtl->created ). "" . $bc . "" . $dtl->id . "" . $dtl->object . "" . $dtl->amount . "" . $dtl->charges->data[0]->billing_details->email . "" . $dtl->charges->data[0]->paid . "" . $T[$bc]['paiement'] . "
"; echo join('',$TB); // Array echo "
"; print_r($T); echo "
"; ?>