Wednesday, November 14, 2012

Allow Paypal users to Pay by Credit Card in WP E-Commerce

To allow Paypal Express Checkout customers to pay by credit card, one line of  code that passes the "sole" variable needs to be added to tell Paypal to enable the credit card payment

Open this file
/wp-content/plugins/wp-e-commerce/wpsc-merchants/paypal-express.merchant.php

Find this line of code (approximately line 221):

$nvpstr = $nvpstr . "&RETURNURL=" . $returnURL;


Immediately below that line, add this line of code:

$nvpstr = $nvpstr . "&SOLUTIONTYPE=Sole";


Thanks to the guys over at Websightdesigns.com who posted the above tutorial in April 2012.

No comments:

Post a Comment

Only comments in English will be considered. Thank you!