📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv9.demodesign.com.tr
/
includes
/
modules
/
shopier
📝
load.php
← Geri Dön
<?php include('shopier.php'); function m_shopier($o_id,$address,$name,$lastname,$phone,$email,$amount) { $db = new DB(); $shopier_api = $db->table('virtual_pos')->where('id','=',3)->get_var('api_json'); $shopier_api = json_decode($shopier_api,true); $shopier = new Shopier($shopier_api['api_key']['value'], $shopier_api['secret_key']['value']); $shopier->setBuyer([ 'id' => $o_id, 'paket' => 'Alışveriş', 'first_name' => $name, 'last_name' => $lastname, 'email' => $email, 'phone' => $phone]); $shopier->setOrderBilling([ 'billing_address' => $address, 'billing_city' => 'İstanbul', 'billing_country' => 'Türkiye', 'billing_postcode' => '34000', ]); $shopier->setOrderShipping([ 'shipping_address' => $address, 'shipping_city' => 'İstanbul', 'shipping_country' => 'Türkiye', 'shipping_postcode' => '34000', ]); die($shopier->run($o_id, $amount, ''.SITE_DOMAIN.'/shopier_result.php')); }
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula