1 | <?php |
||
2 | |||
3 | use vxm\examples\gatewayclients\Gateway; |
||
4 | |||
5 | $responseData = (new Gateway([ |
||
6 | 'client' => [ |
||
7 | 'username' => 'vxm' |
||
8 | ] |
||
9 | ]))->request('refund', ['amount' => 1000]); |
||
10 | |||
11 | if ($responseData->isOk) { |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
12 | print_r($responseData->get()); |
||
13 | } |