You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
4.2 KiB

1 month ago
  1. <?php
  2. return [
  3. /**
  4. * SANDBOX MODE
  5. * --------------------------------
  6. * By default it is binded with APP_DEBUG
  7. * If app.debug is true, sandbox is also true
  8. *
  9. */
  10. 'sandbox' => env('APP_DEBUG', true),
  11. /**
  12. * CREDENTIALS
  13. * --------------------------------
  14. * The API credentials given from SSLCommerz
  15. *
  16. */
  17. 'store' => [
  18. 'id' => env('SSLC_STORE_ID'),
  19. 'password' => env('SSLC_STORE_PASSWORD'),
  20. 'currency' => env('DEFAULT_CURRENCY','USD'),
  21. ],
  22. /**
  23. * REDIRECT URL's
  24. * --------------------------------
  25. * The URL Redirection after success/failure/cancel
  26. * USE route name()
  27. * DO NOT USE route url()
  28. */
  29. 'route' => [
  30. 'success' => env('SSLC_ROUTE_SUCCESS','sslc.sslcommerz'),
  31. 'failure' => env('SSLC_ROUTE_FAILURE','sslc.sslcommerz'),
  32. 'cancel' => env('SSLC_ROUTE_CANCEL','sslc.sslcommerz'),
  33. 'ipn' => env('SSLC_ROUTE_IPN','sslc.sslcommerz'),
  34. ],
  35. /**
  36. * STRICT PAYMENT GATEWAY
  37. * --------------------------------
  38. * Strict your payment gateway. Leave is NULL if
  39. * you want to enable all available gateways
  40. *
  41. * List of gateways
  42. * brac_visa= BRAC VISA
  43. * dbbl_visa= Dutch Bangla VISA
  44. * city_visa= City Bank Visa
  45. * ebl_visa = EBL Visa
  46. * sbl_visa = Southeast Bank Visa
  47. * brac_master = BRAC MASTER
  48. * dbbl_master = MASTER Dutch-Bangla
  49. * city_master = City Master Card
  50. * ebl_maste= EBL Master Card
  51. * sbl_maste= Southeast Bank Master Card
  52. * city_amex= City Bank AMEX
  53. * qcash= QCash
  54. * dbbl_nexu= DBBL Nexus
  55. * bankasia = Bank Asia IB
  56. * abban= AB Bank IB
  57. * ibbl = IBBL IB and Mobile Banking
  58. * mtbl = Mutual Trust Bank IB
  59. * bkash= Bkash Mobile Banking
  60. * dbblmobilebanking= DBBL Mobile Banking
  61. * city = City Touch IB
  62. * upay = Upay
  63. * tapnpay = Tap N Pay Gateway
  64. *
  65. * GROUP GATEWAY
  66. * internetbank = For all internet banking
  67. * mobileban= For all mobile banking
  68. * othercard= For all cards except visa,master and amex
  69. * visacard = For all visa
  70. * mastercar= For All Master card
  71. * amexcard = For Amex Card
  72. */
  73. 'gateway' => null,
  74. /**
  75. * DEFAULT SYSTEM PRODUCT PROFILE
  76. * --------------------------------
  77. * Product profile required from SSLC
  78. * By default it is "general"
  79. *
  80. * AVAILABLE PROFILES
  81. * general
  82. * physical-goods
  83. * non-physical-goods
  84. * airline-tickets
  85. * travel-vertical
  86. * telecom-vertical
  87. *
  88. */
  89. 'product_profile' => 'general',
  90. /**
  91. * ALLOW FROM LOCALHOST
  92. * --------------------------------
  93. * Set TRUE if you are in development mode,
  94. * or you have localhost based application,
  95. * otherwise FALSE in production
  96. */
  97. 'localhost' => env('SSLC_ALLOW_LOCALHOST',true),
  98. /**
  99. * PATHS
  100. * --------------------------------
  101. * Default paths of the sslcommerz system
  102. * Do not change if necessary
  103. *
  104. */
  105. 'path' => [
  106. 'domain' => [
  107. 'sandbox' => 'https://sandbox.sslcommerz.com',
  108. 'live' => 'https://securepay.sslcommerz.com'
  109. ],
  110. 'endpoint' => [
  111. 'make_payment' => '/gwprocess/v4/api.php',
  112. 'transaction_status' => '/validator/api/merchantTransIDvalidationAPI.php',
  113. 'order_validate' => '/validator/api/validationserverAPI.php',
  114. 'refund_payment' => '/validator/api/merchantTransIDvalidationAPI.php',
  115. 'refund_status' => '/validator/api/merchantTransIDvalidationAPI.php',
  116. ]
  117. ]
  118. ];