Jump to content



Latest News: (loading..)

PayPal Website Payments Pro Hosted Solution (Official)


  • Please log in to reply
34 replies to this topic

#21   tobybailey

tobybailey
  • Members
  • 43 posts
  • Real Name:Toby Bailey

Posted 24 November 2012 - 07:03 PM

So I have this apparently working at least for a few basic tests.

I do need to adjust it however:  Paypal requires a "state" field associated with a CC, although it does not verify this(!) and the advice is just to duplicate the city if necessary.

We don't collect "state" from customers.   I can't find exactly where in this system the info for Paypal is assembled - I'd like to interrupt it at the cruicial point and copy the city in to the state field if the latter is empty.  Can anyone (the author?) point me at the correct piece of code?

I'd be grateful for advice.

#22   sunrise99

sunrise99
  • Members
  • 181 posts
  • Real Name:David
  • Gender:Male

Posted 30 November 2012 - 02:20 PM

Dears,
Thanks for your module.
I install two site , but I both get this error:

www.mydomain.com/ext/modules/payment/paypal/checkout.php?error=true


would you please help to give your suggestion?

thanks & Best Regards,
Sunrise99

#23   tobybailey

tobybailey
  • Members
  • 43 posts
  • Real Name:Toby Bailey

Posted 31 December 2012 - 03:33 PM

Further update on this solution:

As installed, the "refund" button does not work when viewing an order in admin if "admin" is not installed inside "catalog".   The culprit is line 16 of admin/ext/modules/payment/paypal/paypal_hss.php:

require('../includes/modules/payment/paypal_hss.php');

It should presumably be coded as:

require(DIR_FS_CATALOG . '/includes/modules/payment/paypal_hss.php');

#24   tobybailey

tobybailey
  • Members
  • 43 posts
  • Real Name:Toby Bailey

Posted 31 December 2012 - 03:54 PM

Agghh! Just noted the error above:  of course, there should not be a slash before "uncludes".

require(DIR_FS_CATALOG . 'includes/modules/payment/paypal_hss.php');

#25   tobybailey

tobybailey
  • Members
  • 43 posts
  • Real Name:Toby Bailey

Posted 13 January 2013 - 11:12 AM

Pretty much have this OK now.  Two points:

* I currently have no entries in the config where it asks for "Payflow User" and "Payflow  Password".  It seems tto be OK without them?

* I'm unsure how this interacts with 3D-secure.  Does this happen automatically once one has signed up for ardinal?  The Cardinal people keep supplying config info that does not match up with the options available in this contribution.  My suspicion is that none of it is needed. (Unless, that is, some of that info is meant to go in the payflow user and pw entries mentioned above.)

#26   tobybailey

tobybailey
  • Members
  • 43 posts
  • Real Name:Toby Bailey

Posted 19 January 2013 - 11:06 AM

Now have this contribution perational (I think) on live shop.  I found one definite coding error. there is a misprint/error in the replacement file
/admin/orders.php that causes fatal failure on osCommerce 2.2 based systems when the orders from a particular customer are listed.  It is as follows.

Around line 379 in that file is a database query including the field "o.cc_expire" which does not exist.  The correct version of the field is  "o.cc_expires" - which is indeed correctly used elsewhere in the file.

#27   rtuk

rtuk
  • Members
  • 6 posts
  • Real Name:david

Posted 15 February 2013 - 12:14 PM

Has anybody got this to work , it does not work for me at all

#28   rtuk

rtuk
  • Members
  • 6 posts
  • Real Name:david

Posted 16 February 2013 - 02:21 PM

spoke to a developer and they say this wont work with sts templates and it cant be fixed. Cant believe this is the official module provided by paypal.

#29   tobybailey

tobybailey
  • Members
  • 43 posts
  • Real Name:Toby Bailey

Posted 17 February 2013 - 09:53 AM

david,

Yes, as above we have it essentially working with a somewhat modified 2.2.

#30   rtuk

rtuk
  • Members
  • 6 posts
  • Real Name:david

Posted 20 February 2013 - 04:07 AM

Thanks Toby , on question Does you cart empty when you don't complete the order? any way around this ?

#31   rtuk

rtuk
  • Members
  • 6 posts
  • Real Name:david

Posted 20 February 2013 - 04:07 AM

@tobybailey one question Does you cart empty when you don't complete the order? any way around this ?

#32   rtuk

rtuk
  • Members
  • 6 posts
  • Real Name:david

Posted 20 February 2013 - 04:21 AM

if the the command below was moved to the checkout success page  would that be better ? would the cart empty at the end on the payment instead???
in 2.2.

The cart reset happens in after_process() in includes/modules/payment/paypay_hss.php line 360:

$cart->reset(true);

Remove this and the cart will never empty. So not recommended at the moment :)

Stock is updated in before_process() so the qty field will be adjusted if they pay or not.

This to me seems all wrong.  Wouldn't it be better to update stock and empty the customers basket when the IPN comes back from paypal?

#33   pete2007

pete2007
  • Members
  • 353 posts
  • Real Name:amateur developer
  • Gender:Male

Posted 22 February 2013 - 10:13 AM

Hi all, I installed this module but I am having an issue with it, when a customer choose's to ship to an alternate address this doesn't update on the oscommerce site, which results us sending the customers order to the wrong address. Is there a way in which we can either fix this problem or maybe remove the option of shipping to an alternate address?

Thanks in advance

#34   tobybailey

tobybailey
  • Members
  • 43 posts
  • Real Name:Toby Bailey

Posted 03 March 2013 - 06:13 PM

View Postrtuk, on 20 February 2013 - 04:07 AM, said:

@tobybailey one question Does you cart empty when you don't complete the order? any way around this ?
Sorry - not been here for a while.   Yes, cart empties on transfer from confirmation page to payment page.  I'm intending to look at this next since it is a problem.

#35   trier

trier
  • Members
  • 33 posts
  • Real Name:Jimbo
  • Gender:Male

Posted 25 March 2013 - 12:53 PM

Hi,

I have a working version (in testing) of the PayPal WPP – 3D Secure module (addons.oscommerce.com/info/7280), but I’m a bit wary of implementing because the ongoing cost of PCI compliance seems a tad heavyweight.

Does anyone know if this solution works with 3D Secure (using Cardinal Centinel)? There doesn’t seem to be a way of interrupting the flow to pass the captured payment details through the 3DS process.

As an aside, there doesn’t seem to be great coverage of 3DS, have many installations adopted it?

Many Thanks