Jump to content
Mark Evans

Official PayPal IPN Support Thread

Recommended Posts

Rather than adding a script to handle orders before sending customers to PayPal, I'd prefer to add a button in admin orders page to clean up all Preparing[PayPal IPN] orders on a single click, which is far more easier to be done.

as totalnumpty says: most of the customers abandon at checkout_confirmation.php and not at paypal. and the side effect is: you have an order in your database which never was a real order, that is the difference.

for examle: if someone uses "bank transfer", the order will be only generated in database after pressing "confirm order" - and this is the thing which makes it different.

 

but why use an additional script at the form? in my idea the whole thing would be solved, if the premature order would be stored in function process_button() and not in function confirmation()

or did i miss some important thing?

 

i think, MANY errors with "preparing" orders would have been solved then...

and no customers would be astonished, if an "preparing" order is in their status history although they NEVER pressed "confirm order" ;)

Edited by davidr33

Share this post


Link to post
Share on other sites
Both functions are called on the same page (checkout_confirmation.php) there for no matter which of these 2 you want to use to create the order, the order is created on page loaded (before hitting on the button).

 

If you hated the Preparing[PayPal IPN] so much, there is already a solution available which doesn't create premature orders. Why don't you try it?

Edited by AlexStudio

Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration

 

Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.

Share this post


Link to post
Share on other sites
This support thread is for the osCommerce PayPal IPN Module v1.0 For 2.2MS2

 

Which can be downloaded from http://www.oscommerce.com/community/contributions,2679

 

Please post any support questions on this module here.

 

Any questions relating to any other contribution will likely be removed to keep this thread specific to the module above.

 

 

I am using paypal older module ,but having problem of customers not returning back to the store to store the order in the database,so I downloaded the PAYPAL IPN module.and installed as instructed in INSTAL GUID and Copied the files in the directory structure set in the contribution download file to my osCommerce installation directory inc. the new /ext/ folder.

 

BUT

PAYPAL IPN module is not visible in Admin area MODULES under PAYMENT.

 

If someone can help me out,either with installation of PAYPAL IPN ,or older version of PAYPAL.

 

waiting for response.

Share this post


Link to post
Share on other sites
Both functions are called on the same page (checkout_confirmation.php) there for no matter which of these 2 you want to use to create the order, the order is created on page loaded (before hitting on the button).

If you hated the Preparing[PayPal IPN] so much, there is already a solution available which doesn't create premature orders. Why don't you try it?

ah, i got it. sure, both functions are being executed... so i have to add code in the form.

no, i do not hate the "preparing" and i really find it useful, if someone checks out and encounters problems at paypal that there is a premature order, but as i said: AFTER pressing button... ;)

ok, will look further. perhaps someone got another idea based on my input.

Share this post


Link to post
Share on other sites
This can be achieved by adding an additional script as the form action url of the confirm button, to create the premature order in database AFTER the button's been hit

hi alex, i tried it myself, but i am not that crack in php.

not to mention, that this try didn't work ;)

 

i made a IPN_process.php where the content of function confirmation() was in it and as the last line i redirected to https://www.paypal...

but my php is too low to get it to work.

do you think this is much work? or do you have another (better, simpler) idea?

 

well, i want to say again: most of the customers, who only "try" and get to the checkout_confirmation.php, are annoyed if there will be an order in their history. they will think "oops, i did not want that!" - so, premature order is needed, but - yes - after pressing "confirm"...

am i the only one who thinks so? can't believe that :D

Share this post


Link to post
Share on other sites

I've just installed this module, because of the problem with the normal paypal module not registering the order, if they fail to head back to the shop when done.

Now, it seams the details aren't included in the email. As it was before, there was a detailed description:

 

i.e.:

Aurora Produções

------------------------------------------------------

Número do Pedido: 136

Pedido Detalhado: http://auroraproducoes.com/account_history...hp?order_id=136

Data do Pedido: quarta 05 dezembro, 2007

 

Produtos

------------------------------------------------------

3 x Não temas Vol.2 () = R$65.70

1 x Vida Nova () = R$21.90

3 x Não Temas (CVCD1) = R$65.70

------------------------------------------------------

Subtotal: R$153.30

Encomenda PAC (Taxa mínima, sujeito a alteração.): R$9.90

Total: R$163.20

 

Endereço de Entrega

 

Now, all I get is:

Active :: Aurora Products

------------------------------------------------------

Order Number: 39

Detailed Invoice: http://www.activezvous.ch/catalog/account_...php?order_id=39

Date Ordered: Saturday 08 December, 2007

 

------------------------------------------------------

Your payment is currently pending. We will send you a copy of your order once the payment has cleared.

 

Is there a way for it to have the details included in the email? Both for the customer as well as for the shop owner?

Many thanks.

Share this post


Link to post
Share on other sites
Hmmm... REALLY interesting. This can be achieved by adding an additional script as the form action url of the confirm button, to create the premature order in database AFTER the button's been hit, but seems redundant. What's the difference between abandoning the order at your store and at PayPal site? You still need to clean up those orders abandoned at PayPal, right? You can only lost traces of those orders abandoned at your store, no chance to work on those sales.

Exactly what I was looking for. So there is no way to know whether an order is premature or not unless you check your (in my case) paypal account to see if money was actually transferred.

 

 

Problem:When I run tests on the website, I make a purchase and it takes me to the checkout...but there is no option to insert credit card numbers. There is my shipping address in there, and all it says is: "Pay x.xx Now". I want an option for people who have a Paypal account to enter a credit card...

 

OR

 

An option for people who do not have a paypal account to insert their credit card. That's initially what I thought this module would do...am I mistaken?

 

Thanks,

Chris

Share this post


Link to post
Share on other sites
Exactly what I was looking for. So there is no way to know whether an order is premature or not unless you check your (in my case) paypal account to see if money was actually transferred.

Problem:When I run tests on the website, I make a purchase and it takes me to the checkout...but there is no option to insert credit card numbers. There is my shipping address in there, and all it says is: "Pay x.xx Now". I want an option for people who have a Paypal account to enter a credit card...

 

OR

 

An option for people who do not have a paypal account to insert their credit card. That's initially what I thought this module would do...am I mistaken?

 

Thanks,

Chris

 

 

Chris

Surely the choice to pay by credit card or by PayPal should be established on the payment methods page of checkout before they go anywhere near PayPal, i.e. -

 

If they want to pay using your merchant services account rather than PayPal credit card acceptance, your payment methods page should have at least those two options.

 

If you're meaning the choice to pay with credit card or PayPal funds at PayPal, then that is a function that happens within the PayPal secure server - if they have no PayPal account, they are offered the choice of entering card details or opening an account and transferring money from bank / card to fund the purchase.

Or

If they already have a PayPal account, it will default to using in-account funds to pay, but with a link to other funding methods such as cards, direct debit, direct bank transfer etc - this is one of the causes of the notoriously slow clearing PayPal echeques.

 

In fact you'll probably find it's against the Ts & Cs of your PayPal user agreement for you to set up an IPN that collects the customer's card info for passing to PayPal.

 

Gaz


Wearing a seatbelt prevents head injuries when the computer crashes - - - Yeah Right!!! - not in this office.

Share this post


Link to post
Share on other sites

wondering if anyone else is having this problem, or knows how to fix it.

 

 

lately, 1 out of 20 orders does not get the invoice # (order number) recorded, but the custom # (customer number) is recorded.

 

this started happening after paypal changed their recent activity menu to be cached and whatnot. i'm sure they did other changes too at this time..

 

the only other modification i did that affects my checkout pages is package insurance, but 99% of the time the invoice # is passed.. so i do not think this contribution is the cause.

 

i did not make any changes to ipn file around the time this started happening.

Share this post


Link to post
Share on other sites

Thanks Gaz-

 

I guess that is what was confusing me, I always logged in as myself, and never saw the option to add the credit cards because (as you said) it defaults to the users account.

 

Really appreciate the clarification Gaz.

Share this post


Link to post
Share on other sites
Exactly what I was looking for. So there is no way to know whether an order is premature or not

so we are two :) anyone else?

would really be glad if someone has a simple solution.

Share this post


Link to post
Share on other sites

Hi there,

 

If a customer is placing an order and is unable to successfully complete the purchase, the order is logged as :

 

Preparing [PayPal IPN]

 

Is there an option or feature to allow the customer to "CLICK HERE" to submit the payment instead of placing the order all over again ? This will only apply for incomplete orders and purchases.

 

Thanks

Share this post


Link to post
Share on other sites

I'm using the IPN module and it seems to be working fine. Well done to all the guys involved!

 

From reading the install guide it mentions now that this contrib will not work without cURL or ssl.

 

I have not got ssl but my host has cURL, I have neither setup in the IPN module configuration so I take it cURL kicks in as default...

 

Is there a way to check that the cURL is been used correctly?

 

Thanks

Share this post


Link to post
Share on other sites

I have just installed v2.3.3 on my test store and everything is working fine just using the sandbox for payments. I have QT Pro installed and actually used the instructions from v1.3 help files to modify my Google Checkout responsehandler so that it now operates correctly with QT Pro.

 

So I figured that the instructions should work very easily with Paypal Ipn. Unfortunatley I have discovered that the code in paypal_ipn.php V2.3.3 is signifcantly different to the one in v1.3.

 

Is there any updated instructions on how to integrate QT Pro into v2.3.3?

 

Thanks for any help.

Share this post


Link to post
Share on other sites

Hi there,

 

I'm having some problems with this mod and some other mods that I have installed. I wonder if anyone can help me in some way?

 

The other mods I have installed are:

 

1) ProductOptionsInProducsPage_1.1 - which can be found here http://addons.oscommerce.com/info/1538

2) quantity_mod_1_2 - which can be found here http://addons.oscommerce.com/info/3302

 

I have the most recent versions of these mods installed. The first mod basically allows me to displays the product attributes on the product edit page.....only the attributes for that product will be displayed on the product edit page. Then the second mod allows me to add a 'product attribute quantity' i.e. if I have a T-shirt and one of the attributes is the SIZE: Large......I can set this attribute to have a quantity i.e. Size: Large / Quantity 2

 

Now, the problem is that when I was using the standard PayPal system the product attribute quantity would be reduced everytime someone purchased an item. Since I have upgraded to the new osCommerce PayPal IPN v2.3.3 mod, the product attribute quantity is no-longer being reduced.

 

Can anyone help me? I'm sure this isn't such a large change in code, just to delete the quantity ordered from the quantity stored in the database? I would really appreciate it if someone could help me as I'm not the most proficient PHP coder :-(

 

If anyone needs to see my code please don't hesitate to ask!

 

Any help would be amazing.

Kind regards Jonathan

 

I have this mod installed v2.3.3. I used to have the original Paypal gateway in use a

Share this post


Link to post
Share on other sites

Hi all,

I have an older oscommerce site (not sure what version, oscommerce 2006 downloaded september) ?

I have the paypal ipn module (downloaded around the same time) and it has always worked flawlessly but now it is not working.

It seems to happen under computers with internet explorer. When a paypal order is placed the customer is sent to the paypal site but they get a strange paypal screen that just has "click here to retry" on it. Under firefox it works fine.

Sorry for the basic and ridiculous sounding question.

Any advice is greatly appreciated as I am losing sales from this.

 

Regards,

 

Peter

www.lazyskate.com

Edited by the big fist

Share this post


Link to post
Share on other sites

Hello everyone!

I am having problems with the order status not being recognized by the Paypal IPN Module.

The problem started just a few days ago.

I am using the latest version of PP IPN and my php version is 4.3.11

 

Thank you very much,

Andre

Share this post


Link to post
Share on other sites

Hi,

 

I'm trying to figure out why after installing (what is supposed to be very simple) paypal IPN module, it doesn't show up in my admin to activate/install.

 

Here's a screenshot of my admin panel (after all the files have been uploaded):

<img src="http://img.photobucket.com/albums/v44/saradaze03/pp_scrnsht.png">

 

as you can see, I don't have an option for paypal IPN.

 

I've installed and reinstalled and looked through the files and I just can't figure it out.

 

I'm running osComm 2.2 and have used the latest osCommerce PayPal IPN Module v1.0 For 2.2MS2 contributed by AlexStudio.

 

Any help or suggestions are appreciated!

 

Thank you,

Sara


What did I get myself into?

 

Sara

Share this post


Link to post
Share on other sites
Hi,

 

I'm trying to figure out why after installing (what is supposed to be very simple) paypal IPN module, it doesn't show up in my admin to activate/install.

 

Here's a screenshot of my admin panel (after all the files have been uploaded):

<img src="http://img.photobucket.com/albums/v44/saradaze03/pp_scrnsht.png">

 

as you can see, I don't have an option for paypal IPN.

 

I've installed and reinstalled and looked through the files and I just can't figure it out.

 

I'm running osComm 2.2 and have used the latest osCommerce PayPal IPN Module v1.0 For 2.2MS2 contributed by AlexStudio.

 

Any help or suggestions are appreciated!

 

Thank you,

Sara

 

Well, after reading a bit more AlexStudio has answer this question already

 

It's shown as Credit/Debit Card (via PayPal) in the list, not as PayPal IPN.

What did I get myself into?

 

Sara

Share this post


Link to post
Share on other sites
Hi all,

I have an older oscommerce site (not sure what version, oscommerce 2006 downloaded september) ?

I have the paypal ipn module (downloaded around the same time) and it has always worked flawlessly but now it is not working.

It seems to happen under computers with internet explorer. When a paypal order is placed the customer is sent to the paypal site but they get a strange paypal screen that just has "click here to retry" on it. Under firefox it works fine.

Sorry for the basic and ridiculous sounding question.

Any advice is greatly appreciated as I am losing sales from this.

 

Regards,

 

Peter

www.lazyskate.com

 

I am using v1.4 as it can be integrated with QTPro, all testing in the sandbox went fine but when I tried to convert to live I got this message, also using IE.

 

If this can be fixed it would be extremely useful as I could then allow customers to use Paypal at my site.

 

Thanks to anyone who knows the answer

Share this post


Link to post
Share on other sites
I am using v1.4 as it can be integrated with QTPro, all testing in the sandbox went fine but when I tried to convert to live I got this message, also using IE.

 

If this can be fixed it would be extremely useful as I could then allow customers to use Paypal at my site.

 

Thanks to anyone who knows the answer

 

Mate I think I have found the solution. My store is run from a directory under my domain but i wanted it to be shown when the domain is in the address bar so I put the whole store in an invisible frame. It looks like IE doesnt like that and the site cannot be run from inside a frame. I just tested it here at work and it is all systems go ! Thankfully after months of stuffing around its working again.

I think it will be your problem as well.

 

Cheers,

 

peter

Share this post


Link to post
Share on other sites
Mate I think I have found the solution. My store is run from a directory under my domain but i wanted it to be shown when the domain is in the address bar so I put the whole store in an invisible frame. It looks like IE doesnt like that and the site cannot be run from inside a frame. I just tested it here at work and it is all systems go ! Thankfully after months of stuffing around its working again.

I think it will be your problem as well.

 

Cheers,

 

peter

 

Hi Pete,

 

Nice work mate glad you've got yours working.

 

I haven't used any frames in my site but really appreciate you sharing your experience.

 

I just did an order on my live version and everything went through fine. I think I'm going to have to monitor it pretty closely and maybe even email customers if they come up as Preparing [PaypalIpn].

 

One other thought is I got the error using IE6 and just did my succsessful test on IE7. I'll have another go with IE6 tonight.

 

Cheers

Share this post


Link to post
Share on other sites
Hi Pete,

 

Nice work mate glad you've got yours working.

 

I haven't used any frames in my site but really appreciate you sharing your experience.

 

I just did an order on my live version and everything went through fine. I think I'm going to have to monitor it pretty closely and maybe even email customers if they come up as Preparing [PaypalIpn].

 

One other thought is I got the error using IE6 and just did my succsessful test on IE7. I'll have another go with IE6 tonight.

 

Cheers

 

Good luck mate !

I know how frustrating it can be trying to track down these little problems !

 

Cheers,

 

Peter

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×