This patch inherit codes in
issues/3322351 →
,
which perovided order redirecting.
New wallet with zero balance need to make deposit or transfer first before using it to pay order,
otherwise the wallet would be negative.
User can bypass the the PaymentInformation step and jump to the PaymentProcess step, to make a payment without wallet amount checking.
1. New user without any wallet.
2. Checkout a cart, useing Funds Balance payment option.
3. Checkout successfully, but without real payment, balance of the new wallet is negative.
* Redirect to make deposit after create a new wallet in checkout step in BalanceMethodAddForm::submitConfigurationForm().
* Redirect to deposit the wallet when not enough money to pay commerce order in BalanceGateway::createPayment().
Test case.
No.
No.
No.
Fixed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.