Author Topic: Custom Checkout Payment Rules (50 % Account Balance & 50% CreditCard)  (Read 4143 times)

Offline hus2020

  • Newbie
  • *
  • Posts: 28
  • Karma: +3/-0
    • View Profile
Hi Guys,

AbanteCart cart has been great so far in all aspects. I just need one thing done which I cant figure out how. My customers will have account balance (store credit) in each ones account. But, I want to restrict the usage of the balance to be always 50% of the total cart value. Let see few scenarios below:

Scenario 1 :
Customer Account Balance is : 500
Customer buys 3 products where total is 200 (inclusive all taxes and shipping)
In payment when he checkout : He will be able to pay a max of 100 (50%) using account balance and the remaining 100 using credit card only.

Scenario 2 :
Customer Account Balance is : 50
Customer buys 3 products where total is 200 (inclusive all taxes and shipping)
In payment when he checkout : He will be able to pay a max of 50 (since that's the only balance left) using account balance and the remaining 150 using credit card only.

Scenario 3 :
Customer Account Balance is : 0
Customer buys 3 products where total is 200 (inclusive all taxes and shipping)
In payment when he checkout : He wont be able to use account balance as it is zero and pay the full amount 200 using credit card only.

I am willing to pay certain amount if someone can help me in this. Thank you.


 

Powered by SMFPacks Social Login Mod