|
@@ -127,8 +127,8 @@ function __construct(){
|
|
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
|
|
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,1800000);
|
|
|
$res = curl_exec($ch);
|
|
|
- $this->logic_ding->sendToDing("独立站获取订单的店铺执行shopfiy_1【".$name."】".json_encode($post));
|
|
|
- $this->logic_ding->sendToDing("独立站获取订单的店铺执行shopfiy_2【".$name."】".$res);
|
|
|
+ $this->logic_ding->sendToDing("独立站获取订单的店铺执行请求参数【".$name."】".json_encode($post));
|
|
|
+ $this->logic_ding->sendToDing("独立站获取订单的店铺执行获取信息".$res);
|
|
|
|
|
|
curl_close($ch);
|
|
|
$res = json_decode($res,true);
|
|
@@ -168,7 +168,7 @@ function __construct(){
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- $pay = $v['payment_gateway_names'][0];
|
|
|
+ $pay = $v['gateway'];
|
|
|
}
|
|
|
}else{
|
|
|
if(stripos($v['payment_gateway_names'][0],'shopify_') !== false)
|
|
@@ -547,7 +547,7 @@ function __construct(){
|
|
|
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,1800000);
|
|
|
$res = curl_exec($ch);
|
|
|
curl_close($ch);
|
|
|
- $this->logic_ding->sendToDing("独立站获取订单的店铺执行shopfiy-- paypal【".$shopifyid."】".$res."}{".json_encode($post));
|
|
|
+ $this->logic_ding->sendToDing("独立站获取订单的店铺执行shopfiy paypal【".$shopifyid."】".$res."}{".json_encode($post));
|
|
|
// $shopifyid = $shopifyid;
|
|
|
// $url = 'https://'.$shop['shopname'].'.myshopify.com/admin/api/2022-10/orders/'.$shopifyid.'/transactions.json';
|
|
|
// $headerA[] = "X-Shopify-Access-Token: ".$shop['token'];
|