Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configForJSSDKPayment #744

Closed
lamzy opened this issue Jun 17, 2017 · 2 comments
Closed

configForJSSDKPayment #744

lamzy opened this issue Jun 17, 2017 · 2 comments

Comments

@lamzy
Copy link

lamzy commented Jun 17, 2017

public function configForJSSDKPayment($prepayId)
{
$config = $this->configForPayment($prepayId, false);

// $config['timestamp'] = $config['timeStamp'];
// unset($config['timeStamp']);

    return $config;
}

里面的timeStamp参数微信是要求驼峰写法的

@overtrue
Copy link
Collaborator

@lamzy
Copy link
Author

lamzy commented Jun 17, 2017

WeixinJSBridge才是驼峰写法,jssdk是全小写,感谢。
ps:微信大坑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants