|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/demo.aadityaguptaclasses.com/config/ |
Upload File : |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Driver
|--------------------------------------------------------------------------
|
| This value determines which of the following gateway to use.
| You can switch to a different driver at runtime.
|
*/
'default' => 'zarinpal',
/*
|--------------------------------------------------------------------------
| List of Drivers
|--------------------------------------------------------------------------
|
| These are the list of drivers to use for this package.
| You can change the name. Then you'll have to change
| it in the map array too.
|
*/
'drivers' => [
'asanpardakht' => [
'apiPurchaseUrl' => 'https://services.asanpardakht.net/paygate/merchantservices.asmx?wsdl',
'apiPaymentUrl' => 'https://asan.shaparak.ir',
'apiVerificationUrl' => 'https://services.asanpardakht.net/paygate/merchantservices.asmx?wsdl',
'apiUtilsUrl' => 'https://services.asanpardakht.net/paygate/internalutils.asmx?wsdl',
'key' => '',
'iv' => '',
'username' => '',
'password' => '',
'merchantId' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using asanpardakht',
],
'behpardakht' => [
'apiPurchaseUrl' => 'https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl',
'apiPaymentUrl' => 'https://bpm.shaparak.ir/pgwchannel/startpay.mellat',
'apiVerificationUrl' => 'https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl',
'terminalId' => '',
'username' => '',
'password' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using behpardakht',
],
'idpay' => [
'apiPurchaseUrl' => 'https://api.idpay.ir/v1.1/payment',
'apiPaymentUrl' => 'https://idpay.ir/p/ws/',
'apiSandboxPaymentUrl' => 'https://idpay.ir/p/ws-sandbox/',
'apiVerificationUrl' => 'https://api.idpay.ir/v1.1/payment/verify',
'merchantId' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using idpay',
'sandbox' => false, // set it to true for test environments
],
'irankish' => [
'apiPurchaseUrl' => 'https://ikc.shaparak.ir/XToken/Tokens.xml',
'apiPaymentUrl' => 'https://ikc.shaparak.ir/TPayment/Payment/index/',
'apiVerificationUrl' => 'https://ikc.shaparak.ir/XVerify/Verify.xml',
'merchantId' => '',
'sha1Key' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using irankish',
],
'nextpay' => [
'apiPurchaseUrl' => 'https://api.nextpay.org/gateway/token.http',
'apiPaymentUrl' => 'https://api.nextpay.org/gateway/payment/',
'apiVerificationUrl' => 'https://api.nextpay.org/gateway/verify.http',
'merchantId' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using nextpay',
],
'parsian' => [
'apiPurchaseUrl' => 'https://pec.shaparak.ir/NewIPGServices/Sale/SaleService.asmx?wsdl',
'apiPaymentUrl' => 'https://pec.shaparak.ir/NewIPG/',
'apiVerificationUrl' => 'https://pec.shaparak.ir/NewIPGServices/Confirm/ConfirmService.asmx?wsdl',
'merchantId' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using parsian',
],
'pasargad' => [
'apiPaymentUrl' => 'https://pep.shaparak.ir/payment.aspx',
'apiGetToken' => 'https://pep.shaparak.ir/Api/v1/Payment/GetToken',
'apiCheckTransactionUrl' => 'https://pep.shaparak.ir/Api/v1/Payment/CheckTransactionResult',
'apiVerificationUrl' => 'https://pep.shaparak.ir/Api/v1/Payment/VerifyPayment',
'merchantId' => '',
'terminalCode' => '',
'certificate' => '', // can be string (and set certificateType to xml_string) or an xml file path (and set cetificateType to xml_file)
'certificateType' => 'xml_file', // can be: xml_file, xml_string
'callbackUrl' => 'http://yoursite.com/path/to',
],
'payir' => [
'apiPurchaseUrl' => 'https://pay.ir/pg/send',
'apiPaymentUrl' => 'https://pay.ir/pg/',
'apiVerificationUrl' => 'https://pay.ir/pg/verify/',
'merchantId' => 'test', // set it to `test` for test environments
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using payir',
],
'paypal' => [
/* normal api */
'apiPurchaseUrl' => 'https://www.paypal.com/cgi-bin/webscr',
'apiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/',
'apiVerificationUrl' => 'https://ir.zarinpal.com/pg/services/WebGate/wsdl',
/* sandbox api */
'sandboxApiPurchaseUrl' => 'https://www.sandbox.paypal.com/cgi-bin/webscr',
'sandboxApiPaymentUrl' => 'https://sandbox.zarinpal.com/pg/StartPay/',
'sandboxApiVerificationUrl' => 'https://sandbox.zarinpal.com/pg/services/WebGate/wsdl',
'mode' => 'normal', // can be normal, sandbox
'currency' => '',
'id' => '', // Specify the email of the PayPal Business account
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using paypal',
],
'payping' => [
'apiPurchaseUrl' => 'https://api.payping.ir/v1/pay/',
'apiPaymentUrl' => 'https://api.payping.ir/v1/pay/gotoipg/',
'apiVerificationUrl' => 'https://api.payping.ir/v1/pay/verify/',
'merchantId' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using payping',
],
'paystar' => [
'apiPurchaseUrl' => 'https://paystar.ir/api/create/',
'apiPaymentUrl' => 'https://paystar.ir/paying/',
'apiVerificationUrl' => 'https://paystar.ir/api/verify/',
'merchantId' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using paystar',
],
'poolam' => [
'apiPurchaseUrl' => 'https://poolam.ir/invoice/request/',
'apiPaymentUrl' => 'https://poolam.ir/invoice/pay/',
'apiVerificationUrl' => 'https://poolam.ir/invoice/check/',
'merchantId' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using poolam',
],
'sadad' => [
'apiPurchaseUrl' => 'https://sadad.shaparak.ir/vpg/api/v0/Request/PaymentRequest',
'apiPaymentUrl' => 'https://sadad.shaparak.ir/VPG/Purchase',
'apiVerificationUrl' => 'https://sadad.shaparak.ir/VPG/api/v0/Advice/Verify',
'key' => '',
'merchantId' => '',
'terminalId' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using sadad',
],
'saman' => [
'apiPurchaseUrl' => 'https://sep.shaparak.ir/Payments/InitPayment.asmx?WSDL',
'apiPaymentUrl' => 'https://sep.shaparak.ir/payment.aspx',
'apiVerificationUrl' => 'https://sep.shaparak.ir/payments/referencepayment.asmx?WSDL',
'merchantId' => '',
'callbackUrl' => '',
'description' => 'payment using saman',
],
'sepehr' => [
'apiGetToken' => 'https://mabna.shaparak.ir:8081/V1/PeymentApi/GetToken',
'apiPaymentUrl' => 'https://mabna.shaparak.ir:8080/pay',
'apiVerificationUrl' => 'https://mabna.shaparak.ir:8081/V1/PeymentApi/Advice',
'terminalId' => '',
'callbackUrl' => '',
'description' => 'payment using sepehr(saderat)',
],
'yekpay' => [
'apiPurchaseUrl' => 'https://gate.yekpay.com/api/payment/server?wsdl',
'apiPaymentUrl' => 'https://gate.yekpay.com/api/payment/start/',
'apiVerificationUrl' => 'https://gate.yekpay.com/api/payment/server?wsdl',
'fromCurrencyCode' => 978,
'toCurrencyCode' => 364,
'merchantId' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using yekpay',
],
'zarinpal' => [
/* normal api */
'apiPurchaseUrl' => 'https://ir.zarinpal.com/pg/services/WebGate/wsdl',
'apiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/',
'apiVerificationUrl' => 'https://ir.zarinpal.com/pg/services/WebGate/wsdl',
/* sandbox api */
'sandboxApiPurchaseUrl' => 'https://sandbox.zarinpal.com/pg/services/WebGate/wsdl',
'sandboxApiPaymentUrl' => 'https://sandbox.zarinpal.com/pg/StartPay/',
'sandboxApiVerificationUrl' => 'https://sandbox.zarinpal.com/pg/services/WebGate/wsdl',
/* zarinGate api */
'zaringateApiPurchaseUrl' => 'https://ir.zarinpal.com/pg/services/WebGate/wsdl',
'zaringateApiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/:authority/ZarinGate',
'zaringateApiVerificationUrl' => 'https://ir.zarinpal.com/pg/services/WebGate/wsdl',
'mode' => 'sandbox', // can be normal, sandbox, zaringate
'merchantId' => env('ZARINPALL_MERCHANT_ID',''),
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using zarinpal',
],
'zibal' => [
/* normal api */
'apiPurchaseUrl' => 'https://gateway.zibal.ir/v1/request',
'apiPaymentUrl' => 'https://gateway.zibal.ir/start/',
'apiVerificationUrl' => 'https://gateway.zibal.ir/v1/verify',
'mode' => 'normal', // can be normal, direct
'merchantId' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'description' => 'payment using zibal',
],
],
/*
|--------------------------------------------------------------------------
| Class Maps
|--------------------------------------------------------------------------
|
| This is the array of Classes that maps to Drivers above.
| You can create your own driver if you like and add the
| config in the drivers array and the class to use for
| here with the same name. You will have to extend
| Shetabit\Multipay\Abstracts\Driver in your driver.
|
*/
'map' => [
'asanpardakht' => \Shetabit\Multipay\Drivers\Asanpardakht\Asanpardakht::class,
'behpardakht' => \Shetabit\Multipay\Drivers\Behpardakht\Behpardakht::class,
'idpay' => \Shetabit\Multipay\Drivers\Idpay\Idpay::class,
'irankish' => \Shetabit\Multipay\Drivers\Irankish\Irankish::class,
'nextpay' => \Shetabit\Multipay\Drivers\Nextpay\Nextpay::class,
'parsian' => \Shetabit\Multipay\Drivers\Parsian\Parsian::class,
'pasargad' => \Shetabit\Multipay\Drivers\Pasargad\Pasargad::class,
'payir' => \Shetabit\Multipay\Drivers\Payir\Payir::class,
'paypal' => \Shetabit\Multipay\Drivers\Paypal\Paypal::class,
'payping' => \Shetabit\Multipay\Drivers\Payping\Payping::class,
'paystar' => \Shetabit\Multipay\Drivers\Paystar\Paystar::class,
'poolam' => \Shetabit\Multipay\Drivers\Poolam\Poolam::class,
'sadad' => \Shetabit\Multipay\Drivers\Sadad\Sadad::class,
'saman' => \Shetabit\Multipay\Drivers\Saman\Saman::class,
'sepehr' => \Shetabit\Multipay\Drivers\Sepehr\Sepehr::class,
'yekpay' => \Shetabit\Multipay\Drivers\Yekpay\Yekpay::class,
'zarinpal' => \Shetabit\Multipay\Drivers\Zarinpal\Zarinpal::class,
'zibal' => \Shetabit\Multipay\Drivers\Zibal\Zibal::class,
]
];