'29bf1bf44ad693eafe1a7af87207a2ae', 'provider_or' => 'pb-PayPal', // api_name(pb-PayPal) 'amount' => number_format($amount, 2, '.', ''), 'currency' => 'USD', 'product_name' => 'I have already discussed the product details with online customer service.', 'RefOrder' => 'ORDER-' . date('YmdHis') . '-' . rand(1000,9999), 'Customer_Email' => $email, 'Customer_Name' => $lastname, 'Customer_FirstName' => $firstname, 'country' => 'US', 'userIP' => $userIP, 'lang' => 'en', 'store_name' => 'International Store', 'urlOK' => 'https://www.ashippingworldwide.com/success', 'urlKO' => 'https://www.ashippingworldwide.com/failure', 'ipnURL' => 'https://www.ashippingworldwide.com/callback' ); $serializedData = serialize($MyVars); $encoded = base64_encode($serializedData); $paymentUrl = "https://pay.payblis.com/api/dp-onramp.php?token=" . $encoded; header("Location: " . $paymentUrl); exit;