payment rysgala
This commit is contained in:
parent
55ee6d7d64
commit
e3acaacb92
|
|
@ -10,6 +10,7 @@ namespace Sarga\Payment\Methods;
|
||||||
|
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use GuzzleHttp\Client;
|
use GuzzleHttp\Client;
|
||||||
|
use Illuminate\Support\Facades\Log;
|
||||||
use Webkul\Payment\Payment\Payment;
|
use Webkul\Payment\Payment\Payment;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -60,6 +61,7 @@ class AltynAsyr extends Payment
|
||||||
];
|
];
|
||||||
try {
|
try {
|
||||||
$result = json_decode($client->post('register.do',$params)->getBody(),true);
|
$result = json_decode($client->post('register.do',$params)->getBody(),true);
|
||||||
|
Log::info($result);
|
||||||
|
|
||||||
if($result['errorCode'] == 0){
|
if($result['errorCode'] == 0){
|
||||||
return [
|
return [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue