1

I have a web store in ASP.NET MVC for which I created the entire workflow - adding to cart, proceeding to checkout and writing the order to DB. Now, I need to implement PayPal payment.

I was wondering if there is a way to make the purchase without creating the entire cart on PayPal all over again, but allow payment for the total value of the entire cart (which I already have as an information) with complete disregard for the cart items.

For example, I have a guitar and a guitar pick. Customer orders a guitar and 5 picks. Can I implement PayPal in a way that I can send guitarPrice * guitarQty + pickPrice * pickQty with complete abstraction of cart and its items?

dzenesiz
  • 1,388
  • 4
  • 27
  • 58
  • 1
    Check this out - https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/ I don't know anything about ASP.NET but if you are capable of integrating this button it will do exactly what you're looking for! All you do is pass the total and that's it! – Gage Hendy Ya Boy Sep 16 '17 at 20:38
  • @GageHendyYaBoy Thanks! Put it in an answer and I'll accept it. – dzenesiz Oct 16 '17 at 11:23

1 Answers1

1

I think this button is what you need. I'm not familiar with ASP.NET but this button has all of the functionality you're looking for.

Gage Hendy Ya Boy
  • 1,456
  • 4
  • 17
  • 35