File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ protected function initData() {
11
11
'details ' => '' ,
12
12
'confirmUrl ' => config ('mobilpay.confirm_url ' ),
13
13
'returnUrl ' => config ('mobilpay.return_url ' ),
14
+ 'cancelUrl ' => config ('mobilpay.cancel_url ' ),
14
15
'testMode ' => config ('mobilpay.testMode ' ),
15
16
'params ' => []
16
17
];
@@ -76,6 +77,16 @@ public function setReturnUrl($value) {
76
77
return $ this ;
77
78
}
78
79
80
+ /**
81
+ * @param $value string
82
+ * @return $this
83
+ */
84
+ public function setCancelUrl ($ value ) {
85
+ $ this ->data ['cancelUrl ' ] = $ value ;
86
+
87
+ return $ this ;
88
+ }
89
+
79
90
/**
80
91
* @param $value boolean
81
92
* @return $this
Original file line number Diff line number Diff line change 14
14
15
15
'confirm_url ' => '' ,
16
16
17
+ 'cancel_url ' => '' ,
18
+
17
19
'return_url ' => ''
18
20
19
21
];
You can’t perform that action at this time.
0 commit comments