File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,14 @@ $response = $response->send();
9797### Status
9898
9999``` php
100- $request = $gateway->fetchTransaction( [
100+ $data = [
101101 'ContractProfileId' => '85cf0581-36e2-45c7-8d8c-a24c6f52902c',
102102 'AmountInCents' => 1337,
103103 'CurrencyCode' => 'EUR',
104104 'Reference' => '829c7998-6497-402c-a049-51801ba33662',
105- ]);
105+ ];
106+
107+ $request = $gateway->fetchTransaction($data);
106108
107109$response = $request->send();
108110```
@@ -113,12 +115,14 @@ $response = $request->send();
113115* Do note: refunds implementation has not been tested.*
114116
115117``` php
116- $request = $gateway->refund( [
118+ $data = [
117119 'ContractProfileId' => '85cf0581-36e2-45c7-8d8c-a24c6f52902c',
118120 'AmountInCents' => 1337,
119121 'CurrencyCode' => 'EUR',
120122 'Reference' => '829c7998-6497-402c-a049-51801ba33662',
121- ]);
123+ ];
124+
125+ $request = $gateway->refund($data);
122126
123127$response = $request->send();
124128```
You can’t perform that action at this time.
0 commit comments