Jump to content



Photo
* * * * * 4 votes

Official PayPal IPN Support Thread


  • Please log in to reply
4139 replies to this topic

#1   Mark Evans

Mark Evans

    Code Monkey Rockstar

  • Core Team
  • 2,521 posts
  • Real Name:Mark
  • Gender:Male
  • Location:Behind you :-P

Posted 03 December 2004 - 11:45

This support thread is for the osCommerce PayPal IPN Module v1.0 For 2.2MS2

Which can be downloaded from http://www.oscommerc...tributions,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.

Edited by hpdl, 08 December 2004 - 03:22.

Mark Evans
osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

---------------------------------------
Software is like sex: It's better when it's free. (Linus Torvalds)

#2   RavenWulf

RavenWulf
  • Members
  • 297 posts
  • Real Name:Douglas
  • Location:Germany

Posted 03 December 2004 - 16:08

Sparky,

1st let me say thank you for the great mod! I can't believe just how easy it was to install!

My only question is: is there anyway to change the look of the payment area to be more like that of the ipn 2.9 version? (with the credit card logos, and popup info page) I think it is more inviting for people to see that they can use their credit cards, etc. than just looking at the paypal option.

Also is there anyway to getting some of the admin functionality of 2.9 into v1.0? Like the options for store logos, transpher screen color (plus being able to select more than just black or white), etc..

I know this is a completly different contrib, done by different people and I am very very gratefull to see that you are continuing with it. I just would like some of the eyecandy, and functions I have gotten used too, and think others would also find useful.

again, thank you for the work.

RavenWulf

This support thread is for the osCommerce PayPal IPN Module v1.0 For 2.2MS2

Which can be downloaded from http://www.oscommerc...tributions,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.

<{POST_SNAPBACK}>


A man who works with his hands is a laborer
A man who works with his hands and his brain is a craftsman
But a man who works with his hands and his brain and his heart is an artist. - Charles Dickens

#3   kfresh

kfresh
  • Members
  • 16 posts
  • Real Name:K-Fresh

Posted 03 December 2004 - 17:18

Okay... i know installed it... and i have one question... is there a way to pass the shipping address to Paypal? Because the details of the transaction in Paypal say "No address provided" and nothing is sent in the Paypal email notification...

k

#4   PandA.nl

PandA.nl
  • Members
  • 323 posts
  • Real Name:Paul
  • Location:Haarlem, Netherlands

Posted 03 December 2004 - 18:41

Thanks for the module and support!

Just installed the module but I do have a serious problem, if an order is made the total amount is without tax. (Using the "old" default osC paypal module the price still is including tax, as it should)

Not sure if it could make a difference but I tried both "Per Item" "Aggregate" and it does not seem te make any difference.

Edited by PandA.nl, 03 December 2004 - 18:42.

Please do not PM me for support, I will not respond anyway.

#5   Harald Ponce de Leon

Harald Ponce de Leon

    Healthy Giraffe

  • Core Team
  • 4,811 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

Posted 03 December 2004 - 18:47

My only question is:  is there anyway to change the look of the payment area to be more like that of the ipn 2.9 version? (with the credit card logos, and popup info page)  I think it is more inviting for people to see that they can use their credit cards, etc. than just looking at the paypal option.


That can be done - can you provide a screenshot of how you think it should look like?

Also is there anyway to getting some of the admin functionality of 2.9 into v1.0? Like the options for store logos, transpher screen color (plus being able to select more than just black or white), etc..


We found these parameters to be redundant and offered only the Page Style parameter. This gives you greater control of how the pages at PayPal should look like.
Harald Ponce de Leon

#6   Harald Ponce de Leon

Harald Ponce de Leon

    Healthy Giraffe

  • Core Team
  • 4,811 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

Posted 03 December 2004 - 18:48

Just installed the module but I do have a serious problem, if an order is made the total amount is without tax. (Using the "old" default osC paypal module the price still is including tax, as it should)


This is how PayPal displays their prices on the front PayPal page. After the customer has logged in with their PayPal account, the full price is then shown, showing the appropriate shipping and tax fees involved.
Harald Ponce de Leon

#7   Harald Ponce de Leon

Harald Ponce de Leon

    Healthy Giraffe

  • Core Team
  • 4,811 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

Posted 03 December 2004 - 18:50

Okay... i know installed it... and i have one question... is there a way to pass the shipping address to Paypal? Because the details of the transaction in Paypal say "No address provided" and nothing is sent in the Paypal email notification...


This was taken out at the last minute due to the Encryption Website Payments feature. The invoice number is the same as the order ID, so a reference can be made by looking at the order via the Administration Tool.
Harald Ponce de Leon

#8   kfresh

kfresh
  • Members
  • 16 posts
  • Real Name:K-Fresh

Posted 03 December 2004 - 19:18

Okay... i know installed it... and i have one question... is there a way to pass the shipping address to Paypal? Because the details of the transaction in Paypal say "No address provided" and nothing is sent in the Paypal email notification...


This was taken out at the last minute due to the Encryption Website Payments feature. The invoice number is the same as the order ID, so a reference can be made by looking at the order via the Administration Tool.

<{POST_SNAPBACK}>


damn...is there anyway i can add the address to appear in the Paypal notifications? i'm setting this up for real lazy people...

k

#9   Harald Ponce de Leon

Harald Ponce de Leon

    Healthy Giraffe

  • Core Team
  • 4,811 posts
  • Real Name:Harald Ponce de Leon
  • Gender:Male
  • Location:Solingen, Germany

Posted 03 December 2004 - 22:46

What would you like to do with the shipping address coming from PayPal?
Harald Ponce de Leon

#10   kfresh

kfresh
  • Members
  • 16 posts
  • Real Name:K-Fresh

Posted 03 December 2004 - 23:01

What would you like to do with the shipping address coming from PayPal?

<{POST_SNAPBACK}>


i just want it to appear in the Paypal email notifications and details.... it comes up blank with a comma now

k

#11   PandA.nl

PandA.nl
  • Members
  • 323 posts
  • Real Name:Paul
  • Location:Haarlem, Netherlands

Posted 03 December 2004 - 23:12

Just installed the module but I do have a serious problem, if an order is made the total amount is without tax. (Using the "old" default osC paypal module the price still is including tax, as it should)


This is how PayPal displays their prices on the front PayPal page. After the customer has logged in with their PayPal account, the full price is then shown, showing the appropriate shipping and tax fees involved.

<{POST_SNAPBACK}>

A bit confusing I think (but I do understand it's PayPal's "fault"), especially if one tries to pay using a creditcard (not having a PayPal account). At the moment the creditcard info has to be entered the amount still is without tax. I couldn't test paying this way, because PayPal detected an account already was assigned to my creditcard (and so I was redirected to my account).

Since all my current customers need to pay the tax, I decided to make an admin option to move the tax to the total amount. Which was quite easy since it's written so well /smile.gif' class='bbc_emoticon' alt=':)' /> Maybe it's just me that likes it better including tax, but if anyone else is interested I''ll post the easy changes to make.

Edited by PandA.nl, 03 December 2004 - 23:16.

Please do not PM me for support, I will not respond anyway.

#12   toyicebear

toyicebear
  • Community Sponsor
  • 6,394 posts
  • Real Name:Nick
  • Gender:Male
  • Location:World Citizen

Posted 04 December 2004 - 02:05

[quote name='PandA.nl' date='Dec 3 2004, 11:12 PM']
This is how PayPal displays their prices on the front PayPal page. After the customer has logged in with their PayPal account, the full price is then shown, showing the appropriate shipping and tax fees involved.

<{POST_SNAPBACK}>

[/quote]A bit confusing I think (but I do understand it's PayPal's "fault"), especially if one tries to pay using a creditcard (not having a PayPal account). At the moment the creditcard info has to be entered the amount still is without tax. I couldn't test paying this way, because PayPal detected an account already was assigned to my creditcard (and so I was redirected to my account).

Since all my current customers need to pay the tax, I decided to make an admin option to move the tax to the total amount. Which was quite easy since it's written so well /smile.gif' class='bbc_emoticon' alt=':)' /> Maybe it's just me that likes it better including tax, but if anyone else is interested I''ll post the easy changes to make.

<{POST_SNAPBACK}>

[/quote]

Please post it and/or pm it to me... ;-)

#13   jonathn

jonathn
  • Members
  • 21 posts
  • Real Name:Gary

Posted 04 December 2004 - 08:25

What would you like to do with the shipping address coming from PayPal?

<{POST_SNAPBACK}>


This is confusing... Having two different areas discussing the same topic.

Just to point out what was said in the other forum:

"There's a problem with this contribution.... although it installs very fast... and it's great... it doesn't require an address to be chosen, nor can you verify the address where you're shipping your products.

If you don't mind losing anything... that's fine... just know this will show up on all your orders at paypal.

Seller Protection Policy:
Ineligible

That alone renders this module useless for those that sell anything of value.

Anyone working on a mod to verify addresses??"


I might add... you're going to drive my accountant crazy creating 2 different orders... what am I supposed to say?? well this one is valid... but this one is not?

Edited by jonathn, 04 December 2004 - 08:27.


#14   jonathn

jonathn
  • Members
  • 21 posts
  • Real Name:Gary

Posted 04 December 2004 - 08:29

What would you like to do with the shipping address coming from PayPal?

<{POST_SNAPBACK}>



This other post might be informative seeing how you're trying to reinvent something someone has already created: Pay particular attention to the last paragraph.



devosc Today, 03:27 AM Post #1155
Gregory Baboolal

Group: Community Member
Posts: 959
Joined: 1-July 03
Member No.: 10,814



'popup_paypal.php' is the public catalog page for the popup info page shown (available) during checkout, it's name, e.g. 'popup_' is specifically chosen so as to be compatible for use with STS and not requiring any modifications of STS itself. It also serves up the css used on the catalog side, but this could also be achieved by specifying the explicit path to the css files used (templates/css).

In regard to the order status, or lack of, first look for the debug email and see what info is being shown.

For this module, v2.9, no settings need to made in your PayPal account profile, other than having a PayPal account, and possibly enabling Auto-Return, see the config and faqs.

Verifying addresses, PayPal will include info as to whether the address is confirmed. It is possible to do a cross tabulation to determine whether the order would be eligible for buyer protection but PayPal have advised against doing this at this time (or a while ago atleast).

In regard to some of the above posts, it should be noted that the other module is currently not suitable for downloadable media, the problem about changing the url to checkout_process.php without actually paying at PayPal still exists, so downloads still become immediately available. Also if using that module, one must ensure that Encryption is enabled in the PayPal IPN config otherwise the payment information is not obfuscated and from reading it's code it seems like that it is possible to send PayPal a payment for that order for only $0.01 and the module will accept the payment regardless of the expected actual order amount. Another aspect is that since that module prestores the order prior to the customer actually clicking the 'osCommerce Order Confirmation Button' the storeowner cannot determine whether the customer actually confirmed that they wanted to make the order, which prevents the storeowner from potentially following up the sale/order without any clear indication that the customer wanted to make the purchase.

Edited by jonathn, 04 December 2004 - 08:31.


#15   korsh

korsh
  • Members
  • 111 posts
  • Real Name:James O'Sullivan
  • Location:Brisbane, Australia

Posted 04 December 2004 - 08:38

So far I have installed the new IPN from the OsCommerce team (easy) and tested (easy) and modified the look of it and the email sent out. Great simple solution. thank you.

but I do have another query. When I attempt to activate the IPN on my Pay Pal account it is asking for the URL at which I will receive the payment notifications. (see screenshot).

What is or where would I look for this URL address?


Am I correct in using the notify URL address line 330 catalog/includes/modules/payment/paypal_ipn.php as the URL requested in the PayPal activation in my PayPal account? (see screenshot).

$parameters['notify_url'] = tep_href_link('ext/modules/payment/paypal_ipn/ipn.php', '', 'SSL', false, false);

so the address to enter would be
www.mydomain.com/catalog/ext/modules/payment/paypal_ipn/ipn.php

I placed this query in the wrong area and have added it here.

James

#16   korsh

korsh
  • Members
  • 111 posts
  • Real Name:James O'Sullivan
  • Location:Brisbane, Australia

Posted 04 December 2004 - 09:13

Sparky,

1st let me say thank you for the great mod! I can't believe just how easy it was to install!

My only question is:† is there anyway to change the look of the payment area to be more like that of the ipn 2.9 version? (with the credit card logos, and popup info page)† I think it is more inviting for people to see that they can use their credit cards, etc. than just looking at the paypal option.

Also is there anyway to getting some of the admin functionality of 2.9 into v1.0? Like the options for store logos, transpher screen color (plus being able to select more than just black or white), etc..

I know this is a completly different contrib, done by different people and I am very very gratefull to see that you are continuing with it.† I just would like some of the eyecandy, and functions I have gotten used too, and think others would also find useful.

again, thank you for the work.

RavenWulf

<{POST_SNAPBACK}>



Yes, I modified the look tyo be comparable to v2.9 adding the following code to checkout_payment.php at line 252
<td class="main" colspan="3" nowrap><?php
 † † † † † † † † † † if ($selection[$i]['module'] == 'PayPal IPN') {
 † † † † † † † † † † † ?>
 † † † † † † † † † † † † <big><b>
 † † † † † † † † † † † † † Credit Card
 † † † † † † † † † † † † † † <img src="images/logo_ccVisa.gif" † † † † † † alt="Visa" width="37" height="21" † † border="0" † † † † † †align="bottom" title=" Visa ">
 † † † † † † † † † † † † † † <img src="/images/logo_ccMC.gif" † † † alt="MasterCard" width="37" height="21" † † † border="0" † † †align="bottom" title=" MasterCard ">
 † † † † † † † † † † † † † † <img src="/images/logo_ccDiscover.gif" † † † † alt="Discover" width="37" height="21" border="0" † † † †align="bottom" title=" Discover ">
 † † † † † † † † † † † † † † <img src="/images/logo_ccAmex.gif" alt="American Express" width="37" height="21" † † border="0"align="bottom" title=" American Express ">
 † † † † † † † † † † † † † or
 † † † † † † † † † † † † † † <img src="/images/banner_intl.gif" † † † † † alt="PayPal" width="88" height="33" † † †border="0" † † † † †align="bottom" title=" PayPal ">
 † † † † † † † † † † † † </b></big>
 † † † † † † † † † † † † † <br>
 † † † † † † † † † † † † † You do not need to be a PayPal member to pay by credit card.
 † † † † † † † † † † † † † <script>
 † † † † † † † † † † † † † † document.writeln('<a style="cursor:hand" onclick="javascript:popup=window.open('
 † † † † † † † † † † † † † † † † † † † † † †+ '\'http://www.mydomain.com/catalog/CreditCardExplain.htm\',\'popup\','
 † † † † † † † † † † † † † † † † † † † † † †+ '\'scrollbars,resizable,width=625,height=800,left=50,top=50\'); popup.focus(); return false;">'
 † † † † † † † † † † † † † † † † † † † † † †+ '<font color="blue"><u>[info]</u></font></a>');
 † † † † † † † † † † † † † </script><noscript>
 † † † † † † † † † † † † † † <a href="CreditCardExplain.html" target="_blank"><font color="blue"><u>[info]</u></font></a>
 † † † † † † † † † † † † † </noscript>
 † † † † † † † † † † † <?php
 † † † † † † † † † † } else if ($selection[$i]['module'] == 'Check/Money Order') {
 † † † † † † † † † † † ?><big><b>Check or Money Order </b></big>
 † † † † † † † † † † † † <img src="/check.gif" border=0 alt=" Send Us a Check " align="absmiddle">
 † † † † † † † † † † † <?php
 † † † † † † † † † † } else {
 † † † † † † † † † † † echo '<big><b>' . $selection[$i]['module'] . '</b></big>';
 † † † † † † † † † † }
 † † † † † † † † † ?></td>
and using CreditCardExplain.html from the contributions for a start I also changed the email notification in paypal_ipn.php

hth James

Edited by korsh, 04 December 2004 - 09:17.


#17   Mark Evans

Mark Evans

    Code Monkey Rockstar

  • Core Team
  • 2,521 posts
  • Real Name:Mark
  • Gender:Male
  • Location:Behind you :-P

Posted 04 December 2004 - 13:31

but I do have another query. When I attempt to activate the IPN on my Pay Pal account it is asking for the URL at which I will receive the payment notifications. (see screenshot).

What is or where would I look for this URL address?


You dont need to activate IPN on your account, by sending the notify_url with the payment IPN is automatically configured for your store.

From the paypal dev guide

Specifying Your Notification URL

If you only need to receive your IPNs at a single URL, you can enter that URL in the
Preferences section of your Profile.

If you would like to receive payment notifications for different payments at different
URLs (i.e. if you need to separate payments made to different websites you run), you
can manually pass the IPN URL with each payment by including it in that paymentís
HTML code. Use the notify_url field to pass this information.

The notify_url for a specific payment will be saved, and any subsequent updates to
that payment (e.g. cleared eCheck) will be sent to that notify_url. When you pass a
notify_url in your HTML code, it will override any preferences you set in your Profile.


Mark Evans
osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

---------------------------------------
Software is like sex: It's better when it's free. (Linus Torvalds)

#18   Mark Evans

Mark Evans

    Code Monkey Rockstar

  • Core Team
  • 2,521 posts
  • Real Name:Mark
  • Gender:Male
  • Location:Behind you :-P

Posted 04 December 2004 - 13:34

This other post might be informative seeing how you're trying to reinvent something someone has already created: Pay particular attention to the last paragraph.


This isnt a new problem regarding downloads :)

The point of this IPN module is to make it very easy to install so that you dont spend forever editing core files. There is an ease of use v's flexability trade off however.
Mark Evans
osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

---------------------------------------
Software is like sex: It's better when it's free. (Linus Torvalds)

#19   jonathn

jonathn
  • Members
  • 21 posts
  • Real Name:Gary

Posted 04 December 2004 - 15:27

This isnt a new problem regarding downloads /smile.gif' class='bbc_emoticon' alt=':)' />

The point of this IPN module is to make it very easy to install so that you dont spend forever editing core files. There is an ease of use v's flexability trade off however.

<{POST_SNAPBACK}>



tradeoff??

You're trading off security without shipping to an address that's unverified.


The Sellers Protection Policy is there to protect us, the business owners. Ship something for $1000 to a fradulent address and then try to collect.... or for that matter, get your item back.

Personally, or any business owner I know wouldn't ship anything to an unverified address.

Ever wonder why the credit card companies insist you ship to the same address that the credit card sends the customers statement??

This module has serious "security" shortcomings.... no matter how simplistic it is to install.

Edited by jonathn, 04 December 2004 - 15:29.


#20   korsh

korsh
  • Members
  • 111 posts
  • Real Name:James O'Sullivan
  • Location:Brisbane, Australia

Posted 04 December 2004 - 19:04

You dont need to activate IPN on your account, by sending the notify_url with the payment IPN is automatically configured for your store.

From the paypal dev guide

<{POST_SNAPBACK}>

Thank you, I am glad that is cleared up.