iamgaurav Posted May 21, 2015 Share Posted May 21, 2015 HI I am trying to update the cart price of the current cart id. Its basically something like a credit system where if a user has XX Credits i would like to subtract the credits from the total cart amount and update the cart so he can pay the remaining amount via a Payment Gateway. Thanks Link to comment Share on other sites More sharing options...
las3r Posted May 21, 2015 Share Posted May 21, 2015 I would suggest you create a coupon and basically exchange a coupon for credits. The cart total price is calculated by a lot of rules, so its best to not just manually edit those carts total value (as invoices will break down with wrong prices, emails will be sent with wrong prices). IF you choose to use coupons for this, they'll see the total price of the products MINUS a "credit coupon" = real price to pay through a regular payment gateway. This will take some time to build but I did it before, it's possible. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now