News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Pay with Paypal without a Paypal account

Started by Darkest Web, November 10, 2010, 17:35:35 PM

Previous topic - Next topic

Dog_Guy

I have kindly been referred to http://forum.virtuemart.net/index.php?topic=11167.0 by another forum member.

I have changed the line of code to allow the site to go to the sandbox, but cant get any of the faux accounts to allow me to log into it to see if it allows me to buy off the site.

One slow step at a time ...
You can buy healthy dog treats from either of my sites: http://www.dogwalkersmelbourne.com.au/ or http://www.healthydogtreats.com.au/

mnosowicz

After trying many other things this solution worked for me.  Thanks jnvoice1


Quote from: jnovice1 on May 22, 2011, 09:37:55 AM
On VM 1.1.8 I made the following change to allow no paypal account payment:

File 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 above the previous found code:
$nvpstr .= "&SOLUTIONTYPE=Sole" . "&LANDINGPAGE=Billing";

LazyMan

Kind of frustrated in this problem, try everything in this thread told, no success. Get confirm with Paypal merchant tech support.  Paypal New API is not compatible with the paypal account optional, in order to process paypal payment without paypal account, you have to go back paypal standard method. This is open source, be patient !

randgleather

This is what worked for me in vm 1.1.8 .  It doesn't default to the direct credit card entry, but it does make it available without logging into a paypal acct.

in administrator/components/com_virutemart/classes/payment/ps_paypal_api.php

around line 1541 find the entry that reads
   $nvpstr .=
                  "&AMT=$amt"
                  ."&TAXAMT=$taxamt"
                  ."&SHIPPINGAMT=$shippingamt";

and add these two lines so that it now reads
   $nvpstr .=
                  "&AMT=$amt"
                  ."&TAXAMT=$taxamt"
                  ."&SHIPPINGAMT=$shippingamt"
                  ."&SOLUTIONTYPE=Sole"
                  ."&LANDINGPAGE=Billing";

I also had to log into paypal and change one setting

Login and click "Profile"
then scroll down and click "Website payments preferences"
Scroll down "PayPal Account Optional"
Change this to "On"
            

stinga

I use legacy and it just works, I am not sure what the new version gives over the old, so I went with what I knew...
Stinga.
614869 products in 747 categories with 15749 products in 1 category.
                                             Document Complete   Fully Loaded
                Load Time First Byte Start Render   Time      Requests      Time      Requests
First View     2.470s     0.635s     1.276s          2.470s       31            2.470s      31
Repeat View  1.064s     0.561s     1.100s          1.064s       4             1.221s       4

mandocontrol

Isn't there an other module what works good i just spend 4 hours trying to get it to work but i just is not working?

<a href="http://www.mando-control.es">Mando a distancia para todo tipo de marcas</a>

<a href="http://www.seo-royal.com">Posicionamiento de web | posicionamiento de buscadores</a>