Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/findsolu/public_html/qa-include/qa-db.php on line 66
Enable Paypal direct payment with debit / credit card without account for SocialEngine site - FindSol.com
  • Register
Welcome to FindSol.com, where you can find Solutions of your problems, ask questions and receive answers from other community members.

Enable Paypal direct payment with debit / credit card without account for SocialEngine site

+2 votes
984 views
How to enable Paypal direct payement option "Pay with debit / credit card" without creating a Paypal account for my SocialEngine site users. I found that Social Engine using ExpressCheckout API.            
asked Jul 7, 2014 by papu

1 Answer

+1 vote
 
Best answer

1- First make sure in your Paypal account that it should have Optional: ON for this feature. Go to --> PayPal account's Profile -> More Options -> My Selling Tools -> Website Preferences screen and select ON in front of Optional: field.

2- And then set SolutionType to Sole while making request for setExpressCheckout this will enable the option to Pay with debit or credit card for customers. Please modify the following file in SocialEngine PHP to add SolutionType-> Sole

SE_installation_directory / application / modules / Payment / Plugin / Gateway / PayPal.php

Open the file and search for (it would be around line 250 in above file)... 

          'PAYMENTACTION' => 'Sale',
          'AMT' => $data['AMT'],
 
Now change it to..
 
          'PAYMENTACTION' => 'Sale',
         'SOLUTIONTYPE' => 'Sole',
          'AMT' => $data['AMT'],
 
Save changes and upload the file to server.
 

3- Clear your web browser's Cache to see changes.

Please remember, direct payement option is not available for all countries so please check paypal documentation https://developer.paypal.com/docs/classic/api/country_codes/ if above solution is not working for you.  

answered Jul 10, 2014 by Mj Malik
edited Mar 20, 2015 by Mj Malik
...