Free shipping in Italy with orders over 25€
HOME
ABOUT US
SHOP ONLINE
Jams
Olive oil
Tomatoes and sauces
Honey
CONTACTS
CANNABIS COLLIS
Products
Become a reseller
CBD extracts
blog
Adopt an olive tree
Privacy Policy
// Pagamento semplice - Avvio pagamento// Alias e chiave segreta $ALIAS = '
'; // payment_3493271$CHIAVESEGRETA = '
'; // x75N73ySA3h57XN6m7575E63H3m1DE$requestUrl = "https://int-ecommerce.nexi.it/ecomm/ecomm/DispatcherServlet";$merchantServerUrl = "https://" . $_SERVER['HTTP_HOST'] . "/xpay/php/pagamento_semplice/codice_base/";$codTrans = "TESTPS_" . date('YmdHis');$divisa = "EUR";$importo = 5000;// Calcolo MAC$mac = sha1('codTrans=' . $codTrans . 'divisa=' . $divisa . 'importo=' . $importo . $CHIAVESEGRETA);// Parametri obbligatori$obbligatori = array( 'alias' => $ALIAS, 'importo' => $importo, 'divisa' => $divisa, 'codTrans' => $codTrans, 'url' => $merchantServerUrl . "esito.php", 'url_back' => $merchantServerUrl . "annullo.php", 'mac' => $mac, );// Parametri facoltativi$facoltativi = array( 'urlpost' => $merchantServerUrl . "notifica.php",);$requestParams = array_merge($obbligatori, $facoltativi);
foreach ($requestParams as $name => $value) {
}