Skip the Shopping cart and Checkout page and only set the payment method.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi All,
I am trying to create a functionality where if I select a product, It should directly redirect me to the only payment selection method which will then convert to Order if the Successful payment is made. In short I need to  skip the Shopping cart and checkout pages Functionality. can someone help me with this custom functionality?
6 years ago
Off course you can do it but there is a bit of customisation you will need to do for this. I mean there are no internal switches where you can turn off and use default data for each currently required step.

So you still need all the data to make an order. Essentially all the data building / price calculations, etc using your defaulted values for each step needs to be combined into the one routine.

It could be as simple as having a page (like the first page of checkout) where you display the calulated final price
The user enters the credit card details and a button they click to order.
Then you can
    Build all the default data into the processPaymentRequest structure
    Call public virtual PlaceOrderResult PlaceOrder(ProcessPaymentRequest processPaymentRequest)
Plus some message / error handling stuff wrapped around it.

Another option - I searched the marketplace and there are a few plugins - not sure if any do exactly what you want https://www.nopcommerce.com/marketplace.aspx?searchterm=checkout
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.