Jump to content


Photo

Can someone help with error message?


  • This topic is locked This topic is locked
11 replies to this topic

#1 sduraybito

sduraybito

    Member

  • Members
  • PipPip
  • 29 posts

Posted 29 October 2002 - 03:56 PM

I finally figured out how to direct to mywebsite/ipn.asp

I'm getting this error:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/ipn.asp, line 16

Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft...ntredirect.asp.

Line 16 is:

set objHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")

The referenced Microsoft site is a dead end.

Is this some sort of permissions problem (again)?

Peter


  • Mymnrumourf and Infevavof like this

#2 paypal_pb

paypal_pb

    Advanced Member

  • Members
  • 2,960 posts

Posted 29 October 2002 - 08:22 PM

Make sure MSXML is installed on your web server: http://msdn.microsoft.com/xml

More information about POSTing with MSXML 3.0: http://msdn.microsof...rverxmlhttp.asp

More information about POSTing with MSXML 4.0: http://msdn.microsof...equest_5115.asp

We do not yet have a code sample for .NET.


Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn

#3 sduraybito

sduraybito

    Member

  • Members
  • PipPip
  • 29 posts

Posted 30 October 2002 - 12:03 PM

My webserver has msxml3.dll installed. Do you know if any of these PayPal solution have been tested against Win2000 servers?

Thanks,

Peter



#4 paypal_pb

paypal_pb

    Advanced Member

  • Members
  • 2,960 posts

Posted 30 October 2002 - 12:56 PM

Although the above are preferred, one other to try is:
set objHttp = Server.CreateObject("Microsoft.XMLHTTP")

Also, I believe IE 5.5 or higher needs to be installed on your server. Seems odd but I think MSXML uses some of its DLLs or libraries.

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn

#5 sduraybito

sduraybito

    Member

  • Members
  • PipPip
  • 29 posts

Posted 30 October 2002 - 03:40 PM

That last one seems to work: set objHttp = Server.CreateObject("Microsoft.XMLHTTP")

However, now I'm getting the email confirmation generated by ipn.asp every minute. How do I stop it from looping and why is it doing this?

Help!

Peter



#6 paypal_pb

paypal_pb

    Advanced Member

  • Members
  • 2,960 posts

Posted 30 October 2002 - 03:47 PM

The PayPal system will POST 30 times or until your web server returns a standard "200 OK" response. If the PayPal system is continuing to POST, it likely means that your script is erring.

Testing tip: set your "return" URL to point to your script. When IPN is active, the Continue button at the end of the PayPal payment will POST all of the same FORM variables to the "return" URL. This can be handy when developing IPN scripts.

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn

#7 sduraybito

sduraybito

    Member

  • Members
  • PipPip
  • 29 posts

Posted 30 October 2002 - 04:03 PM

My script is a page called ipn.asp. When I reach the end of the payment process, it takes me there but only shows the words Process Subscription Payments, which is straight html. I tried View Source but there is no listing of my FORM variables. What am I doing wrong?

Peter



#8 paypal_pb

paypal_pb

    Advanced Member

  • Members
  • 2,960 posts

Posted 30 October 2002 - 04:18 PM

If you make this payment, you can see the FORM variables on the last PayPal page:

https://www.paypal.c...ite.com/ipn.asp

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn

#9 sduraybito

sduraybito

    Member

  • Members
  • PipPip
  • 29 posts

Posted 30 October 2002 - 04:25 PM

Thanks for your reply.

The last Paypal page I get says: You have successfully signed up

In the address window, it says:

https://www.paypal.c...-confirm-submit

When I hover over the Access Subscription button, on the lower left of my (IE) browser, it says: http://www.mywebsite.com/ipn.asp

Is this the correct page?



#10 paypal_pb

paypal_pb

    Advanced Member

  • Members
  • 2,960 posts

Posted 30 October 2002 - 07:21 PM

The technique I was describing doesn't work for subscription. You can view dummy subscription IPN variables at the bottom of: http://www.paypaldev...asp?TOPIC_ID=38

Change the FORM "action" to your script's URL and you can try it out. It will *not* validate since it's dummy data. But you can get a sense of what variable are being POSTed.

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn

#11 sduraybito

sduraybito

    Member

  • Members
  • PipPip
  • 29 posts

Posted 31 October 2002 - 11:07 AM

It's not working.

Shannon has a series of .asp pages that end with a page called upgrade.asp. This page's FORM ACTION leads to PayPal at https://www.paypal.com/cgi-bin/webscr

I changed upgrade.asp FORM ACTION to ipn.asp. When I test upgrade.asp, it takes me to ipn.asp but there are no FORM variables under View Source.

What am I doing wrong?



#12 sduraybito

sduraybito

    Member

  • Members
  • PipPip
  • 29 posts

Posted 31 October 2002 - 02:59 PM

Just as you have in your sample upgrade.asp:

<input type="hidden" name="custom" value="<%=Session("Id")%>">

Plus, it IS now switching tblUsers ID from 1 to 5. The problem I'm having now is that I'm getting multiple emails generated.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users