【发布时间】:2017-03-19 09:39:34
【问题描述】:
我使用 Laravel 5 并通过 composer 安装 Official OpenPayU PHP Library 2.2 (https://github.com/PayU/openpayu_php)
但这需要:MerchantPosId、SignatureKey、OauthClientId 和 OauthClienteSecret。
我的商家管理面板中只有:Api_key、API_login、Public_key、Merchant_Id。
我相关:
- MerchantPosId = Merchant_Id
- SignatureKey = Api_key
- OauthClientId = Merchant_Id
- OauthClienteSecret = API_login | api_key
但不能使用 create 方法或类 OpenPayU_Order 的其他方法 我得到了错误:
Oauth 错误:[code=401]、[message=invalid_client - 找不到 oauthClient with clientId = 123445]
我的设置会不会出错?需要新的吗?
【问题讨论】:
-
找到解决方案了吗?