Sunday, April 20, 2014

PayPal Express Checkout with an Optional PayPal account

If you are integrating with PayPal Express Checkout, you may want to allow your customers to be able to checkout WITHOUT having a PayPal account.

By default, PayPal Express Checkout will require a PayPal account for you to checkout.

However, if you pass the right parameters to the PayPal Payment Gateway, it will allow you to optionally checkout without having a PayPal account. 

In order to do this, you have to have the following parameters in your ASP.NET PayPal Express Checkout method:

encoder["SOLUTIONTYPE"] = "Sole";
encoder["LANDINGPAGE"] = "Billing";

If you are using the PayPal Integration Wizard, this code can be included in your paypalfunctions.cs file.

Once you have this in place, your customers will be able to optionally pay by credit card WITHOUT having a PayPal account!

No comments:

Post a Comment