8. Next finish our partialView by adding a jquery code to auto submit our form. The necessary scripts are Jquery-{version}.js and Jquery-{version}.min.js. Here we are used @Scripts.Render(« ~/bundles/jquery ») to include all Jquery scripts. A more better practice will be to export all javascript functions to external file but the submit function must be called just after displaying hidden field of our form

9. The next step is to create our checkOut form that dispays product name , Quanty, price and Total :

So expand View folder , expand Home folder and open index.csHtml file. Replace its contents by the following

10. we are at the end. Our final step is to update the web.config file with the appropriate settngs

11. Now , lets go testing our solution :

12. Run the application (or Press F5 )

13. Confirm payment by clicking on button Pay With Paybox, then you will be redirected to the payment page