瀏覽代碼

add custom callback and return url

tags/2.0.3
0nepeop1e 6 年之前
父節點
當前提交
15557a474c
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/RazerPayDriver.php

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

82
                 'amount', 'orderid', 'bill_name', 'bill_email', 'bill_mobile',
82
                 'amount', 'orderid', 'bill_name', 'bill_email', 'bill_mobile',
83
                 'bill_desc', 'country', 'verify_code', 'currency'
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
         return "$this->endpoint/MOLPay/pay/$this->merchant_id/?" .
88
         return "$this->endpoint/MOLPay/pay/$this->merchant_id/?" .
89
             http_build_query($query);
89
             http_build_query($query);

Loading…
取消
儲存