- Issue created by @iseeaflyingcrane
- ππ·Croatia Aporie
I think a proper way of doing that would be to create a new condition in the payment gateway:
Regarding the fact that it's the default option, I think it's just a matter of reorganizing your payment methods under admin/commerce/config/payment-gateways.
As a workaround, you can probably perform checks and hide or display "create a wallet" button according to the order currency within the following preprocess: hook_preprocess_commerce_checkout_pane
- πΊπΈUnited States iseeaflyingcrane
Hi Aporie, I truly appreciate your prompt response. In my payment gateways, I have arranged the "Funds Balance" to be the last. However it still shows up at the default option in customer's payment options in the check out page.
In terms of creating a a new condition, what condition should be set there? I already set the "Funds Balance" option to be available only to authenticated user. But the problem is that with authenticated users, not all of them has funds in their account. So I don't want the Wallet option to be the default.
Thank you!
- ππ·Croatia Aporie
There is no such option out of the box, unfortunately.
I was just pointing where the extra work should be done.
Just keep the ticket opened and we'll see.