|
|
@ -106,7 +106,7 @@ class WeChatPayServer |
|
|
|
|
|
|
|
|
$app = Factory::payment($config); |
|
|
$app = Factory::payment($config); |
|
|
$attributes = self::getAttributes($from, $order, $order_source, $auth, $notify_url); |
|
|
$attributes = self::getAttributes($from, $order, $order_source, $auth, $notify_url); |
|
|
var_dump($attributes);die; |
|
|
|
|
|
$result = $app->order->unify($attributes); |
|
|
$result = $app->order->unify($attributes); |
|
|
if ($result['return_code'] == 'SUCCESS' && $result['result_code'] == 'SUCCESS') { |
|
|
if ($result['return_code'] == 'SUCCESS' && $result['result_code'] == 'SUCCESS') { |
|
|
|
|
|
|
|
|
|