Explorar el Código

add custom callback and return url

tags/2.0.3
0nepeop1e hace 4 años
padre
commit
15557a474c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/RazerPayDriver.php

+ 2
- 2
src/RazerPayDriver.php Ver fichero

@@ -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…
Cancelar
Guardar