Author Topic: Pay with Paypal without a Paypal account  (Read 18267 times)

Dog_Guy

  • Jr. Member
  • **
  • Posts: 105
    • Dog walker & Pet Sitting Melbourne
Re: Pay with Paypal without a Paypal account
« Reply #15 on: June 13, 2011, 13:13:19 pm »
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

  • Beginner
  • *
  • Posts: 4
Re: Pay with Paypal without a Paypal account
« Reply #16 on: June 29, 2011, 20:18:51 pm »
After trying many other things this solution worked for me.  Thanks jnvoice1


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:
Code: [Select]
$resArray=hash_call("SetExpressCheckout",$nvpstr);
Add the following code right above the previous found code:
Code: [Select]
$nvpstr .= "&SOLUTIONTYPE=Sole" . "&LANDINGPAGE=Billing";

LazyMan

  • Beginner
  • *
  • Posts: 2
Re: Pay with Paypal without a Paypal account
« Reply #17 on: October 04, 2011, 06:16:22 am »
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

  • Beginner
  • *
  • Posts: 3
Re: Pay with Paypal without a Paypal account
« Reply #18 on: November 20, 2011, 19:30:15 pm »
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

  • Contributing Developer
  • Full Member
  • *
  • Posts: 872
    • Squangle ltd
Re: Pay with Paypal without a Paypal account
« Reply #19 on: November 24, 2011, 14:04:46 pm »
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

  • Beginner
  • *
  • Posts: 9
    • Mando a Distancia | Mando Control
Re: Pay with Paypal without a Paypal account
« Reply #20 on: December 10, 2011, 00:07:46 am »
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>