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
Describe the bug
Payments are channel aware, but addPaymentToOrder mutation does not adhere to the channel awareness: It gets the first PaymentMethod by code and enabled=true
To Reproduce
Steps to reproduce the behavior:
Create a payment-method in default channel
Make sure you don't have payments in channel2
addPaymentToOrder on channel2
The order now has a payment from defaultchannel
Expected behavior
An error to be thrown, because no method is found
Environment (please complete the following information):
Describe the bug
Payments are channel aware, but
addPaymentToOrder
mutation does not adhere to the channel awareness: It gets the first PaymentMethod bycode
andenabled=true
To Reproduce
Steps to reproduce the behavior:
Expected behavior
An error to be thrown, because no method is found
Environment (please complete the following information):
Additional context
https://github.com/vendure-ecommerce/vendure/blob/master/packages/core/src/service/services/payment-method.service.ts#L137
The text was updated successfully, but these errors were encountered: