You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In gateway we have function availableForUseWithOrder(order) but if we do payment from control panel and click make payment look like this function does not get respected.
Steps to reproduce
Create a gateway A that implement availableForUseWithOrder function and return false.
Make an order from control panel.
On transaction tab click make payment.
Expected behavior
On the payment modal the gateway A should not appear.
Actual behavior
The gateway A is appear on the modal.
Craft CMS version
4.2.5.1
Craft Commerce version
4.1.2
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
What happened?
Description
In gateway we have function
availableForUseWithOrder(order)
but if we do payment from control panel and click make payment look like this function does not get respected.Steps to reproduce
Expected behavior
On the payment modal the gateway A should not appear.
Actual behavior
The gateway A is appear on the modal.
Craft CMS version
4.2.5.1
Craft Commerce version
4.1.2
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: