Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Shopping Cart and PayPal Payments View modes: 
User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 9/5/2012 3:48:08 PM
   
Shopping Cart and PayPal Payments
Trying to find out what others are doing in regards to accepting credit cards and/or PayPal payments. Ideally I'd like the customer to not be redirected from the site to PayPals site and back. Can this be done with any license of Kentico?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 9/6/2012 3:15:04 AM
   
RE:Shopping Cart and PayPal Payments
Hello,

1. Well, it's possible to pass anything to PayPal. You just need to find out in what format of data PayPal accepts. To adjust the way of passing data you need to create class which inherits from CMSPayPalProvider as follows (please note it's only an example, adjust it according your needs):

public class MyPayPalProvider : CMSPayPalProvider
...
public override string InitializePaymentRequest(Hashtable requestParams)
{
base.InitializePaymentRequest(requestParams);

// custom initialization
requestParams["myparameter1"] = "";
requestParams["myparameter2"] = "";
}

Please note myparameter1 and myparameter2 should be in correct format accepting by PayPal.

See also the example of Developing custom payment gateways.

2. You can create a custom step in the shopping process and load the Paypal page in the iFrame.

3. Integrate the paypal process with the Kentico using PayPal API - PayPal API Overview

User avatar
Member
Member
cheaphat-yahoo - 10/8/2012 4:24:05 AM
   
RE:Shopping Cart and PayPal Payments
Depending on your target audience, you may want to keep it as using UTC time because of time zone differences. Some rss aggregators automatically change the date to the users local time. nike tn pas cher acheter casquette casquette obey