Author Topic: PayPal Pro - Checkout with Credit Card not working  (Read 49653 times)

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #15 on: December 20, 2010, 10:13:42 am »
I'll also try to post individual fixes, so everyone can include them even BEFORE 1.1.7 release. I'll open a new thread for this.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

onlinestorenut

  • Beginner
  • *
  • Posts: 22
    • Web Design
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #16 on: December 20, 2010, 23:22:56 pm »
@bowie, @bobjenson
some bugs were fixed AND included in VirtueMart 1.1.6, which has been released a while ago. Unfortunately there are a few other bugs left, which i am working on in these days. Sorry for delay but i have little spare time, if anyone can contribute it would be great.

I'd also like to express my thanks re your efforts.

Also, I'm not really sure if I need the New Paypal API. All I want is my customer to choose Paypal then get redirected to the Paypal site to pay via CC or via their Paypal account. Should I just use the Legacy version?
I think I'll be using a standard merchant paypal account, not Paypal Pro.

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #17 on: December 21, 2010, 14:03:58 pm »
@bobjenson:
yes, you may still use legacy PayPal, there was just some minor issues with coupons and taxes, but apart from that everything is fine.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

onlinestorenut

  • Beginner
  • *
  • Posts: 22
    • Web Design
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #18 on: December 23, 2010, 00:23:15 am »
@bobjenson:
yes, you may still use legacy PayPal, there was just some minor issues with coupons and taxes, but apart from that everything is fine.

Thanks, I'll use the Legacy one for now. By the way, upon testing the new API version, I'm keen on using that one, once the bugs are ironed out :)
Nice interface, sandbox easier to setup, nice logos on the checkout etc.

I'll try to find a bug report post on the new api and add my findings.

Cheers,
Bob.

saviB

  • Jr. Member
  • **
  • Posts: 187
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #19 on: January 15, 2011, 09:13:23 am »
VM 1.1.6

Any news on this? I'd like to use the API as legacy gives me problems:

http://forum.virtuemart.net/index.php?topic=80537.msg265824#msg265824

And I couldn't get the b-planet patch to work. I really need some help here - the site is unusable (for my client) without PayPal. And - I can't have customers getting Purchase orders when they cancel the order or use the back button from the PayPal page..

I'm open to anything. Hacks, modules, patches, even pay stuff. I just need this to work...

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #20 on: January 17, 2011, 14:42:01 pm »
I am so sorry, i planned to fix some bugs during last weeks but then an huge amount of day work let me unable to do anything else. I am still going to fix them but i cannot promise any date, yet.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

saviB

  • Jr. Member
  • **
  • Posts: 187
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #21 on: January 19, 2011, 05:50:55 am »
Hi zanardi,

Thanks for the update. I just want to take a minute to thank you and the entire VM team for creating this outstanding product. I understand completely how much time, energy, and emotions go into work like this. I anxiously await the fixes, but in the mean time - Great Job. Thank You.

Zwilla

  • Beginner
  • *
  • Posts: 3
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #22 on: January 22, 2011, 03:06:40 am »
I have the same problem. I fixed with http://www.vantagetechnic.com and then i put the checkout.index.php from the "Patch-VirtueMart-1.1.5-1.1.6.j15" in the origin folder.

Thats it. without any errors now. Why? I don´t know.

bye and thx

Zwilla

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #23 on: January 22, 2011, 12:33:18 pm »
That's interesting... Vantage Technic offers a PayPal Pro integration made with some help from Soeren (as stated on Vantage Technic site).
Soeren later includes PayPal Pro in VirtueMart itself and Vantage Technic stops developing the module (May 2010 is the last update).
How is it possible that the old module works and the new one does not? Seems like new bugs have been introduced afterwards.
Thank you for pointing this out, it may helps us tracking the issue. I suggest other people to use the same module as Zwilla and report any result.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2768
  • VirtueMart Version: 3.2.15
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #24 on: January 22, 2011, 12:36:33 pm »
Any news on the UK paypal pro support??
regards
A

Joomla 3.8.8
php 7.0

Zwilla

  • Beginner
  • *
  • Posts: 3
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #25 on: January 22, 2011, 13:25:21 pm »
ok all seems ok, one other error i get is, when i list all orders:

Warning: Call-time pass-by-reference has been deprecated in ...../administrator/components/com_virtuemart/classes/ps_order.php on line 80
and same on line 94, 128, 180, 206

inside ps_order.php on line is this:

80:  if( !$authorize->capture_payment( &$d )) {return false;   }
94:  if( !$paymentObj->capture_payment( &$d )) {return false;   }
128: if( !$pfp->capture_payment( &$d )) {return false;          }
180: if( !$payment->void_authorization( &$d )) {return false;   }
206: if( !$payment->do_refund( &$d )) {$vmLogger->debug('failed to do refund');
   return false;}

I think that this problem comes from the variable "&$d" at this moment i don´t know
how we can fix this.

Other side, the store shows only this error´s but nothing looks wrong.

The file: "ps_order.php" use this two files:
payment/ps_authorize.php
payment/ps_authorize.cfg.php

Now i look inside this ones.

hmmm... i find this:

http://mrfoo.de/archiv/282-Warning-Call-time-pass-by-reference-has-been-deprecated.html

i try it later, there are 3 methods to eliminate the problem.

bye

Zwilla

Zwilla

  • Beginner
  • *
  • Posts: 3
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #26 on: January 23, 2011, 15:24:46 pm »
OK... I found the error:

replace inside: ps_order.php all       &d$

with                                    d$

thats it.

My skill in php is like zero. I don´t know what I do, but i found on several website´s that the use of "&" can bring an error and without not. For this I was replacing them an the error is away.

Bye an have an nice sunday

Zwilla

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #27 on: January 23, 2011, 17:00:07 pm »
@Zwilla:
not "d$" but "$d". Yes "pass-by-reference" means using &$d instead and it's deprecated, i.e. will be removed in future versions of PHP
But this IS NOT AN ERROR, just a warning, so everything should work fine. I will start from Vantage Technique module.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2768
  • VirtueMart Version: 3.2.15
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #28 on: January 23, 2011, 17:48:01 pm »
Zanardi, please can you tell me if this will support the UK for PayPal Pro?
regards
A

Joomla 3.8.8
php 7.0

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Re: PayPal Pro - Checkout with Credit Card not working
« Reply #29 on: January 23, 2011, 19:14:02 pm »
@Hutson:
i am sorry but i don't know the answer. I haven't yet released any fixed version of PayPal API payment, i just commented that the module used by Zwilla can be useful, but it's just a suggestion like "try and see if it works".
I cannot guarantee anything, i still have not enough knowledge of this payment module.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter