Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution]Paypal IPN - Devosc


devosc

Recommended Posts

just installed paypal ipn (you say: oh no not another one!)

 

not a clue what i am doing, but i'll get there, as we all do.

 

what i want to know is if you need to have ssl to get this contribution to work.

 

i also want to know how to create the keys and certificates! is this all part of having ssl on your web.

 

my host does not support ssl!

Link to comment
Share on other sites

  • Replies 2.1k
  • Created
  • Last Reply

Top Posters In This Topic

just installed paypal ipn (you say: oh no not another one!)

 

not a clue what i am doing, but i'll get there, as we all do.

 

what i want to know is if you need to have ssl to get this contribution to work.

 

i also want to know how to create the keys and certificates! is this all part of having ssl on your web.

 

my host does not support ssl!

Change Host! Although you have the option of running PayPal in a nonnSSL environment, as all CC sensitive info is stored at PayPal, you are still leaving sensitive info customer names, adddress etc on a normal server

Advise that (after changing hosts?), you set up a few dummy a/c's in the PayPa; Sandbox and read the instructopns in the docs re all your other bits

 

Steve

Edited by Sierrab
Link to comment
Share on other sites

just installed paypal ipn (you say: oh no not another one!)

 

not a clue what i am doing, but i'll get there, as we all do.

 

what i want to know is if you need to have ssl to get this contribution to work.

 

i also want to know how to create the keys and certificates! is this all part of having ssl on your web.

 

my host does not support ssl!

I think you are replying to the wrong PayPal IPN thread. What version are you using? Paypal IPN 3.15 does not require keys or certificates.

 

Sean

Link to comment
Share on other sites

thanks shawkes got the contrib.

 

one question though.

 

In the paypal payment pages my customers have to re-enter there address details and their credit card address details. i think this will be annoying as they would have to enter the details 4 times, as they are already entering it on the osc site.

 

is there a way round this?

Link to comment
Share on other sites

don't worry about my last reply. i have got it working!

 

but....

 

on my checkout_payment page (wish my print key would blimmin work so i could show you!) where the new images (credit card logo's) have appeared i want to make some alterations.

 

i want to do this as i have already installed images on there (sorry but i like them better!).

 

i still want to use the pop up window link!

 

so could someone tell me which file to use to make the changes.

 

and...

 

is there anyway i can add the credit card logo's to the actual paypal payment page, i want these to be near the "if you don't have a payal account please click here"

 

many thanks

Link to comment
Share on other sites

having problems with the checkout_splash.inc page!

 

where is the text changed for this page?

 

how many files including the above file are related to the direction page to paypal's website?

 

 

is there anyway i can remove the checkout_spalsh.inc page altogether?

if yes how do i do this! (how many files do i change?)

 

thankyou

Link to comment
Share on other sites

Since I installed the Paypal IPN contrib. (which works very well thank you!), nothing sold seems to be being added to the 'Bestsellers' list! Is it just me - have I mucked something up? I can't tell if it's that or some other contribution I might have added which has caused it as I have only just noticed!

 

Thanks.

Link to comment
Share on other sites

Since I installed the Paypal IPN contrib. (which works very well thank you!), nothing sold seems to be being added to the 'Bestsellers' list! Is it just me -  have I mucked something up? I can't tell if it's that or some other contribution I might have added which has caused it as I have only just noticed!

 

Thanks.

 

its probably because you have been doing sandbox tests.

Link to comment
Share on other sites

Ok my problem is this

 

i set up the paypay Ipn

 

and when i go to in the admin side

under customers

and click on

PayPal IPN

 

I get

Access Denied 

No Right Permission Access

Please contact your Web Administrator to request

more access or if you found any problem.

 

Back

 

I seaarched througj here and couldn't find the answer thank you.

I am wondering can i have this contribution in two different storess

for the same paypal account?

is that the problem

naomi

Edited by noppie
Link to comment
Share on other sites

Ok my problem is this

 

i set up the paypay Ipn

 

and when i go to in the admin side

under customers

and click on

PayPal IPN

 

I get

I seaarched througj here and couldn't find the answer thank you.

I am wondering can i have this contribution in two different storess

for the same paypal account?

is that the problem

naomi

Do you have admin acces levels installed? If so go to Administrator/File Access and then select Customers, select the Store Files button and add paypal.php.

 

Sean

Link to comment
Share on other sites

Hi,

 

I am having a problem with the return of the customer back to my website from completing the transaction at paypal, I have tested on sandbox, and it works perfectly, although on sandbox I am paying with a paypal account, and on the real paypal I made a transaction using a credit card, but that shouldn't really matter, should it?

 

added: :angry:

forgot to mention, that on the 'sandbox' paypal, the auto return feature works perfect also, on the 'real' paypal I have to use a button to return to merchant!!! dammit...

 

the user is returned back to index, when they press the 'return to merchant' button on paypal, it shows them as logged out, but if you then click 'Account', you are still logged in, and the basket is empty, all the IPN info is present in the admin side.. so the only problem appears to be it reutrns to the wrong page from paypal... I have the settings set exactly as Devosc explains in his contrib info, and also the sandbox settings matched with my 'real' paypal account... I have noticed tho' that the forums on sandbox are saying that the funcitionality in the sandbox side of paypal has problems, for example they say to create a 'dummy' bank account for the sandbox users, use these settings, and then when you try those settings, it returns an error due to the fictious bank details 'provided by sandbox' are invalid, so lotsa people giving grief about that, although it appears paypal is doing little about the problem.. mayeb cos they are making too mush loot out of other areas to worry about assisting the developers... strange business view to take... but anyway.. I am moving away from my actual isseu here hehehehe

 

I would appreciate any help anyone can provide, I have seen another user who had the same problem, I messaged them, but hold no hope of hearing anything, cos they have not been active here for some time, given their last activity on their profile...

 

cheers.

 

John.

Edited by sidewinder
Link to comment
Share on other sites

Hi,

It appear that on your Paypal account you havent set Auto return to on or the autoreturn file path that you are apssing or is set does not exist.

In these cases auto return will not happen.

Also if you keep password generation of Paypal then too auto return will not execute by default.

 

If you still have a query drop Me a line.

Satish Mantri

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Hello

 

Probably everybody say so, but... I got a problem :P

I've already descirbed it in general support forum, but Satish was the only one who was so kind to answer me.

Well... problem is still unsolved :(

 

My paypal IPN, suppose not be working properly.

 

1) Items are not being taken out of stock after they're sold. Most of my items are unique pieces and it really causes me a lot of trouble to take out of stock all the items "by hand". I suppose, that they should be taken out of stock, when Paypal IPN notification saying that payment is comleted comes to the admin panel ? Well.. this leads to another problem

 

2) I don't have any records in my "customer->Paypal IPN" in the admin panel, despite few sales, that I have already completed.

 

 

What should I do to make my Paypal IPN start taking care of quantites after finishing sales ?

 

Maybe it's interfering with some other contributions? ( however unlikely as the only one that might disturb something in managing quantities proccess might be the easy populate - which i think is fully compaible with IPN )

 

I didn't change anything on my paypal account settings as it stated in installation guide, that i shouldn't be doing this as script will give all values to paypal automaticly.

 

:(

 

I really don't know what can be causing this problem, and i can't figure it out since 6 months... I'll really appreciate any hints...

 

 

Ah.. I would have forgotten.. Contribution I use is:

PayPal_Shopping_Cart_IPN_v3.1.5

 

Kind Regards

x4ntos

Link to comment
Share on other sites

I have the PayPal modulle installed and it seems to be working fine. I am just a little confused re the settings in Preparing and Acxknowledged and how they relate to downloads. I have 5 settings in the order_status table

1 Pending

2 Processing

3Delivered

4 Updated

5 Preparing PayPal

 

IN my Pal settings I have

Preparing Order Status

Updated

Acknowledged Order Status

Preparing PayPal

 

Is this correct and does it mean that Downloads Order Controller Status should be set to 5?

 

I also seem sto be getting 2 orders in the db for each order one Updated and the other Preparing PayPal

 

Any light on the matter?

 

Steve

Link to comment
Share on other sites

Hi all,

 

Is anyone using the latest version of Ultimate SEO's? Im talking specifically about version 2.1d.

 

Since ive installed it im not getting any order emails from osCommerce, or any stock being updated. Im getting the IPNs ok, and it seems to be working generally (its not an email problem as such because I enabled the Cheque/Money order payment module to test and its working fine).

 

Ive had the problem for a while now, but ive been trying to search for a solution, and I havent been able to find one. I must of read nearly every post in this forum by now! :'(

 

I spoke to another member who seemed to have the same problem, but wasn't able to solve it, he backed out the 2.1d changes and it seemed to come back to life.

 

I haven't tried this yet, cos I would like to know whats going on.

 

What version of Ultimate SEO are you running, and is it working ok?

 

Thanks for your time and help.

Link to comment
Share on other sites

Lol mysticaleast. Welcome in the team i should say, however I would like to leave it as soon as possible.

 

I have exactly the same problem as You do and I'm asking people to try help me solution on this, but without any result. There are few more people i talked to by PM, that have the same problem as I and You. I think that all of them have Chemo's SEO contribution installed.

 

I have the same symptoms as You do !

E-mails don't come and items are not being deducted, however I'm reciving debug e-mail information to paypal.

 

It happened once, that IPN worked for me, but it was like one on 20 payments.

 

Let's try to solve this problem. Maybe we should try and contact with chemo as there are few people who seem to have exactly the same problem and no one knows solution on this forum.

 

 

please responds asap

x4ntos

Link to comment
Share on other sites

Hey X4ntos, :)

 

Hows it going?

 

Ive checked and checked the paypal and seo contributions and they seem fine, codewise... so tonight im going to check that vital files haven't been overwritten.

 

So basically, im going to make sure that the new files from the contributions aren't corrupted and they are still good.

 

Ill get back to you once ive done that.

 

p.s

u know chemo has another website dont you? Check his documentation for details if you want to contact him.

Edited by mysticaleast
Link to comment
Share on other sites

Hi again,

 

Well to give you an update after some long hours debugging, I couldn't work out what the problem was.

 

Then I thought I would remove the SEO contribution by replacing the modified files with my backed up ones (phew) and removing the .htaccess file (after disabling it in modules of course).

 

IT WORKS AGAIN!

 

I tried all sorts of things, going through the code in case I had done something stupid, looking at the code itself. Going through all sorts of paypal settings, reading for hours on these forums.

 

Another guy had told me that he had to revert his SEO version, and I wanted to avoid that, but I did it just now due to sheer fustration and im quite surprised, but its working again.

 

:thumbsup:

 

Now I need to try and cleanup the db since the seo contrib installed its own settings automatically, but hey theres no rush :-"

Link to comment
Share on other sites

Shipping is calculated on my site correctly, but on PayPal it doesn't show up:

 

 

My site:

Federal Express: CAD$7.30

Sub-Total: CAD$1.18

Total: CAD$8.49

 

 

On PayPal:

Amount: $1.18 CAD

Shipping & Handling: $0.00 CAD

Total Amount: $1.18 CAD

 

 

I have PayPal IPN 2.8 contrib. I also have CCGV installed (I think the first time I had the above problem was after I removed a Free Shipping coupon from my order).

 

PayPal:

- Aggregate

 

 

Sort Order:

1: Sub-total

2: Tax

3: Shipping

4: Discount Coupons

5: Gift Vouchers

800: Total

 

 

 

I have spent quite some time on this forum searching for an answer.

Any ideas?

 

 

David.

Link to comment
Share on other sites

  • 4 weeks later...

G'day Greg, I have had a recent notice from my webhost about changes they are making to PHP and just want to ask you if this will stop the Pay Pal module functioning? Below is their email.

 

On Monday, October 10th we will be making a change to the way PHP runs in your VPS account to enhance your security. PHP contains several functions that allow you to execute system commands from within your PHP code. When a computer cracker locates a vulnerability in a PHP script, they will generally use these functions to gain access to your account. Even if the script itself does not use these functions, the vulnerability will allow the cracker to supply code to be ran in your account. Because new vulnerabilities will continue to be found and exploited in popular software, we are taking a more proactive approach toward ensuring your account remains secure.

 

To enhance your security we will be disabling the PHP functions "proc_open", "system", "cmd", "shell_exec", and "passthru" in your php.ini file (using `backticks` to execute a command is an alias for the function shell_exec). This will make it extremely difficult for a cracker to exploit PHP script vulnerabilities to execute their malicious code. We have already taken steps to ensure that any Site Applications we provide you with will continue to function normally. The majority of applications written in PHP do not use these functions and will not lose any functionality when this happens. However, we realize that some of you do need these functions, so we would like to make it simple to opt out of having any of these functions disabled. You can find more information on these functions (how to know if you are using them, how to enable them in the future if needed, etc) at http://helpdocs.westserver.net/php-security-information.html.

 

To opt out, please place a file in the "/etc" directory of your account called "phpoptout.txt" (all lower case). It should contain the list of the functions you would like to have left enabled. Please list them all on one line, seperated by a comma and a space. For example, if you need to have the "proc_open" and "passthru" functions left enabled you would create the file "/etc/phpoutout.txt" and it would contain the text: "proc_open, passthru". An easy way to do this is to use your online File Manager at http://www.yourdomain.com/fm/. If you run into any problems doing this please contact our technical support (http://members.westhost.com/contactus.html) for assistance.

 

We are making this change with both of our best interests in mind. Having your account compromised is a frustrating (and sometimes expensive) problem that results in a lot of unproductive use of time for everyone involved. We want to keep this type of malicious, illegal behavior off of our servers and out of your account.

Link to comment
Share on other sites

I'm trying to get this contribution to work with Swedish Kronor (SEK), but aren't having much luck.

 

I've edited the paypal.php file to make the default currency SEK, and it does get sent to paypal as SEK. If I view source on the temporary page on the way to paypal, I see:

 

<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="currency_code" value="SEK">
<input type="hidden" name="item_name" value="My Store">
<input type="hidden" name="redirect_cmd" value="_xclick">
<input type="hidden" name="amount" value="549.00">
<input type="hidden" name="shipping" value="40.00">

 

However, when the user gets to paypal they are asked to pay $589 - in USD!

What they should pay is $589 divided by 7.70, or whatever the currency rate is right now.

 

What might I have done wrong in my installation to cause this? It's nearly 2 am here and I'm pulling my hair out.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...