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
Hi,
We forked this repo as we need to customize the checkout for our store. We had a quick question: In the final payment step, we have active payment methods for our store that we only use internally (via the API or CLI), but we don't want those to show publicly on the checkout page. How do we filter those out in the code so that only the "public" payment methods show? We can't seem to figure out in the code where that can be done. Can you let us know how we can do that? Incidentally, I think this is a decent feature to add to the repo. Maybe have the payment methods that can be used (or ones that cannot) be stored in an environment variable or stored in the reference for the payment method in Commerce Layer, and then have the code filter these in the payment method step. So maybe in the reference field for the payment method, you have "private", and the code filters these out on the payment method step.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
We forked this repo as we need to customize the checkout for our store. We had a quick question: In the final payment step, we have active payment methods for our store that we only use internally (via the API or CLI), but we don't want those to show publicly on the checkout page. How do we filter those out in the code so that only the "public" payment methods show? We can't seem to figure out in the code where that can be done. Can you let us know how we can do that? Incidentally, I think this is a decent feature to add to the repo. Maybe have the payment methods that can be used (or ones that cannot) be stored in an environment variable or stored in the reference for the payment method in Commerce Layer, and then have the code filter these in the payment method step. So maybe in the reference field for the payment method, you have "private", and the code filters these out on the payment method step.
Thanks.
The text was updated successfully, but these errors were encountered: