I have developed a new Payment Plugin named credit. The plugin is for: a customer can have credit in his/her account and he can also select payment method as Pay with your credit. Now How can I access the cart items total price to compare with the Customer credit or minus from the customer credit. I am using Nop 4.0.
Help in this regard will be really appreciated.