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

查詢付款結果通知逾時 #6

Open
RYRDU opened this issue Feb 5, 2025 · 3 comments
Open

查詢付款結果通知逾時 #6

RYRDU opened this issue Feb 5, 2025 · 3 comments

Comments

@RYRDU
Copy link

RYRDU commented Feb 5, 2025

在測試環境查詢付款結果出現以下錯誤,正式環境也可能會出現此狀況嗎?
PHP Fatal error: Maximum execution time of 30 seconds exceeded in src\Services\CurlService.php on line 49

@AllennChang
Copy link
Contributor

您好, 請協助提供你查詢參數內容, 方便我們查詢可能發生的原因, 謝謝,

@RYRDU
Copy link
Author

RYRDU commented Feb 5, 2025

在接受到『定期定額結果通知』後,我會使用『信用卡定期定額訂單查詢』的API來取得交易的其他資訊
查詢參數均依照API技術手冊代入,它並不是每次都會產生逾時的錯誤

@RYRDU
Copy link
Author

RYRDU commented Feb 11, 2025

[
    '$url' => 'https://payment-stage.ecpay.com.tw/Cashier/QueryTradeInfo/V5',
    '$request' => [
        'CheckMacValue' => 'F0ED3E5D40DBA2DFBD288BC3E54411B6852ECAEC7A7815603D8062095F7BEAE8',
        'MerchantID' => '3002599',
        'MerchantTradeNo' => '250204106360705',
        'TimeStamp' => 1739243892,
    ]
];

[
    '$url' => 'https://payment-stage.ecpay.com.tw/Cashier/QueryCreditCardPeriodInfo',
    '$request' => [
        'CheckMacValue' => '9E1B45629826B3888CBE38F4F4D3C0740A72C3042D864D4614F1E74D57C6739D',
        'MerchantID' => '3002599',
        'MerchantTradeNo' => '250204106360705',
        'TimeStamp' => 1739243893,
    ]
];

我發覺是查詢信用卡定期定額時,回應速度很慢...

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