-
Notifications
You must be signed in to change notification settings - Fork 13
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
按照範例程式開立發票報錯 #3
Comments
以下是我的程式碼,希望對您有幫助
|
您好, 已收到您的問題反應, 我們會請開發團隊進行測試及調整, 感謝您提供的回饋 |
您好, 經開發團隊進行測試後發現是沒問題的, 請檢查您送出的資料$input 的資料格式是否為正常json格式, 感謝 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好 我使用1.2版的SDK
並且按照該範例中的程式碼試圖開立發票
但是SDK報錯如下:
Response is not JSON format
發生在:
ecpay\sdk\src\Response\AesJsonResponse.php
Line: 22
看到錯誤訊息後,我嘗試對$input進行json_encode,得到錯誤:
uksort() expects parameter 1 to be array, string given
發生在:
ecpay\sdk\src\Services\ArrayService.php
Line: 18
我有注意到1.2版與1.1版使用的
ResponseInterface
不一樣(AbstractDecryptedResponse
與AbstractAesResponse
),所以這個範例可能需要進行更新,請問可以提供新版本的範例程式碼嗎?感謝您
The text was updated successfully, but these errors were encountered: