VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: timjm on March 06, 2011, 20:52:21 PM

Title: Paypal API without user account
Post by: timjm on March 06, 2011, 20:52:21 PM
Is there a way to process a credit card in the Paypal API without needing a user account. Does this require a Paypal Merchant Pro account?
Title: Re: Paypal API without user account
Post by: timjm on March 08, 2011, 17:46:56 PM
Anyone?

When I enter using the Paypal radial button, it takes me to the correct Paypal account, however it only gives me the option to pay using a Paypal account. I would like to have the credit card payment, without an acct. as an option too.

Thanks.
Title: Re: Paypal API without user account
Post by: Shibumi on April 13, 2011, 03:43:45 AM
You do NOT require a PayPal acc
Title: Re: Paypal API without user account
Post by: jnovice1 on May 22, 2011, 09:24:43 AM
If you want redirected paypal page to show credit card entry form,
you need to modify \administrator\components\com_virtuemart\classes\payment\ps_paypal_api.php

Find the following code:
$resArray=hash_call("SetExpressCheckout",$nvpstr);

Add the following code right before the above code:
$nvpstr .= "&SOLUTIONTYPE=Sole" . "&LANDINGPAGE=Billing";

Then the redirected paypal paypal page will show the credit card entry form.
For details, refer to paypal NVP manual, and search for "LANDINGPAGE"

The above solution is for VM 1.1.8