View Single Post
  #7  
Old 06-25-2012, 04:15 AM
 
joss joss is offline
 

X-Cart team
  
Join Date: Feb 2009
Posts: 60
 

Default Re: XP not showing in Payments Methods List

Let me clarify the situation. According to the PayPal requirements, if customers enter CC details right on the merchant's site, the merchant should provide the possibility of paying on the PayPal site as well as via Express Checkout.

It's mentioned e.g. here:

https://www.paypal.com/cgi-bin/webscr?cmd=_dcc_hub-outside

Quote:
Please note: Direct Payment API is not a stand-alone product. You are required to use Direct Payment API and Express Checkout together as a part of the Website Payments Pro solution.

In X-Cart and X-Payments this has been implemented in the following way:

The Express checkout is provided by X-Cart: customers can choose the corresponding payment method at checkout or start the Express checkout right from the cart page.

The Direct payment is provided by X-Payments: customers are redirected from X-Cart to the page generated by X-Payments.


However, in this case there is an unclear moment: the PayPal merchant account should be known both to X-Payments and to X-Cart, so that both systems could process their parts of the PayPal PRO payments. To simplify the X-Payments API, it was implemented in such a way that the PAyPal merchant account should be configured both in X-Cart and in X-Payments.



As far as I can understand, you've already configured an account in X-Payments. So now you should enter the same details in X-Cart. I.e. the PayPal Direct Payments should be configured in the same way as without X-Payments.

Once you import the payment methods from X-Payments to X-Cart, the new options will be displayed on the PayPal configuration page in X-Cart:

- whether to process Direct payments through X-Payments
- which imported payment method should be used for that

The exact names of these options differ in different versions of X-Cart, however in 4.4.5 they should be as stated in this article:

http://help.x-cart.com/index.php?title=X-Payments:PayPal

- Cardholder data must be collected in X-Payments
- Select the payment method configured on the X-Payments' side


So, please let us know, whether you've configured the PayPal in X-Cart and whether you can see these options.



----------------------------------

Regarding that code you've specified, indeed it removes he "imported" PayPal payment method from the list. So that it cannot be added separately from the default X-Cart's PayPal.
__________________
joss@x-cart.com
Reply With Quote