-
Notifications
You must be signed in to change notification settings - Fork 53
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
[ISSUE] Paymentlink does not honor "Days to expire" #796
Comments
Also I'm pretty sure that Looking into it, isn't the same thing happening for on
|
Hi @Swahjak, Good news! We've addressed your use case with a fix, and it will be included in the upcoming release after some advanced testing. Thank you for your clear report on this issue; it's much appreciated as always! |
Describe the bug
A paymentlink does not expire based on the setting, but rather on the selected payment method. If the payment link was not limited to a specific method, it will fallback to the default expiry of 28 days.
Used versions
To Reproduce
See
Service/Order/MethodCode.php:46
this method attempts to get a specific payment method, but if none was set it will return a blank string. That blank string will then result in the expiry not being honored.Expected behavior
Paymentlinks should honor the configuration "Days to expire" on the payment link configuration
Actual behavior
Payment links will expire either on the day of the specific selected method or will fallback to the default 28 days.
The text was updated successfully, but these errors were encountered: