I'm in the process of integrating Paymill payment into my NopCommerce solution.

I want to use the Paymill button "https://www.paymill.com/en-gb/documentation-3/add-ons/paybutton/", so I don’t have to create the online form myself. The problem is that the JavaScript requires the total amount billable to create a token for me.

1. What is the best way of getting total amount from the cart in the PaymentInfo controller?
2. Which callback url should I use to create the transaction? (I will receive a token from paymill, which I have to process back-end)
3. Paymill creates a button, which I can customize. Where in the payment process do you think it is best to insert this button?