瀏覽代碼

add custom callback and return url

tags/2.0.3
0nepeop1e 4 年之前
父節點
當前提交
15557a474c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/RazerPayDriver.php

+ 2
- 2
src/RazerPayDriver.php 查看文件

@@ -82,8 +82,8 @@ class RazerPayDriver implements PaymentGatewayDriver
82 82
                 'amount', 'orderid', 'bill_name', 'bill_email', 'bill_mobile',
83 83
                 'bill_desc', 'country', 'verify_code', 'currency'
84 84
             ),
85
-            Arr::only($this->config->get('payment.gateway.razerpay.options', []), ['channel']),
86
-            Arr::only($options, ['channel'])
85
+            Arr::only($this->config->get('payment.gateway.razerpay.options', []), ['channel', 'returnurl', 'callbackurl']),
86
+            Arr::only($options, ['channel', 'returnurl', 'callbackurl'])
87 87
         );
88 88
         return "$this->endpoint/MOLPay/pay/$this->merchant_id/?" .
89 89
             http_build_query($query);

Loading…
取消
儲存