File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,7 @@ public function paymentStatus()
100
100
'data ' => base64_encode (json_encode ($ content )),
101
101
];
102
102
103
- $ config ['action ' ] = 'status ' ;
104
- $ this ->client ->init ($ this ->client ->getMode (), $ config );
105
-
103
+ $ this ->client ->setUseBaseUrl ('status ' );
106
104
$ this ->client ->setRequestPayload ($ payload );
107
105
108
106
return $ this ->client ->request ('api/Partner/InquiryPayment ' , 'POST ' , Constant::CONTENT_JSON );
@@ -162,6 +160,7 @@ public function cancel()
162
160
'data ' => base64_encode (json_encode ($ content )),
163
161
];
164
162
163
+ $ this ->client ->setUseBaseUrl ('cancel ' );
165
164
$ this ->client ->setRequestPayload ($ payload );
166
165
167
166
return $ this ->client ->request ('general/Partner/CancelQRIS ' , 'POST ' , Constant::CONTENT_JSON );
You can’t perform that action at this time.
0 commit comments