Browse Source

add custom callback and return url

tags/2.0.3
0nepeop1e 4 years ago
parent
commit
15557a474c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/RazerPayDriver.php

+ 2
- 2
src/RazerPayDriver.php View File

@@ -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…
Cancel
Save