Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: 1 [2] 3 4   Go Down
Print
Author Topic: PayPal Pro - Checkout with Credit Card not working  (Read 8885 times)
zanardi
Development Team
Hero Member
*
Posts: 812


WWW
« Reply #15 on: December 20, 2010, 03: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.
Logged

bobjenson
Newbie
*
Posts: 22



WWW
« Reply #16 on: December 20, 2010, 16: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.
Logged

zanardi
Development Team
Hero Member
*
Posts: 812


WWW
« Reply #17 on: December 21, 2010, 07:03:58 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.
Logged

bobjenson
Newbie
*
Posts: 22



WWW
« Reply #18 on: December 22, 2010, 17:23:15 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.

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 Smiley
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.
Logged

saviB
Newbie
*
Posts: 42


« Reply #19 on: January 15, 2011, 02: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...
Logged
zanardi
Development Team
Hero Member
*
Posts: 812


WWW
« Reply #20 on: January 17, 2011, 07:42:01 AM »

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.
Logged

saviB
Newbie
*
Posts: 42


« Reply #21 on: January 18, 2011, 22:50:55 PM »

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.
Logged
Zwilla
Newbie
*
Posts: 3


« Reply #22 on: January 21, 2011, 20:06:40 PM »

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
Logged
zanardi
Development Team
Hero Member
*
Posts: 812


WWW
« Reply #23 on: January 22, 2011, 05:33:18 AM »

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.
Logged

Hutson
Global Moderator
Hero Member
*
Posts: 562



WWW
« Reply #24 on: January 22, 2011, 05:36:33 AM »

Any news on the UK paypal pro support??
Logged

regards
Andrew
If I have helped save you time and effort please click  to offer a  Small Donation

Website design Nottingham e-commerce design and support
Zwilla
Newbie
*
Posts: 3


« Reply #25 on: January 22, 2011, 06:25:21 AM »

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
Logged
Zwilla
Newbie
*
Posts: 3


« Reply #26 on: January 23, 2011, 08:24:46 AM »

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
Logged
zanardi
Development Team
Hero Member
*
Posts: 812


WWW
« Reply #27 on: January 23, 2011, 10:00:07 AM »

@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.
Logged

Hutson
Global Moderator
Hero Member
*
Posts: 562



WWW
« Reply #28 on: January 23, 2011, 10:48:01 AM »

Zanardi, please can you tell me if this will support the UK for PayPal Pro?
Logged

regards
Andrew
If I have helped save you time and effort please click  to offer a  Small Donation

Website design Nottingham e-commerce design and support
zanardi
Development Team
Hero Member
*
Posts: 812


WWW
« Reply #29 on: January 23, 2011, 12: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.
Logged

Pages: 1 [2] 3 4   Go Up
Print
Jump to: