paypal in asp.net
Re-invent ASP.NET Hosting Community
 Home          Members     Calendar     Who's On

Welcome Guest ( Login | Register )
        



paypal in asp.net Expand / Collapse
Message
Posted 2/11/2007 2:17:00 PM Post #517
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Hi Guys,

I have my pwsk hosted with you. I would now like to place a paypal donations button on the website. When I place the code below in asp.net page, the button isnt working and instead it generates error. Please enlighten or extend help in adapting the code as necessary.

 

The code provided by paypal is:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBX1PHPdrW+RROdFcRKbtiqSRKvI3Mt/rT6CkYCIClQ62O2bpr9b72wg62lswX2NluChqJCnZSp4pqLPIxvKq8myH5X6Cc/l8DFpN4GW15T02K/8tgnrhE6DpDcjjlWGpoA3qVbFQ9UlZrA/2WPTfA0NhLdlo0/WYxhDPSkEhFImzELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQId+OFJJnJ42uAgaC8OTi78plA9TffTr968Pg+XyDUUubDNq4BBMvwJvmzjWjFEI03vvbLaqhJq35mo5qIaZVHN14yMq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ERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb22CAQAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQCBXzpWmoBa5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDcwMjExMTkwMDAxWjAjBgkqhkiG9w0BCQQxFgQUDa1XOhJgdLfTsage0OYse1/ytwQwDQYJKoZIhvcNAQEBBQAEgYCVojzTwoXUOyfxkO3wa3jXGr5j/M0RzyM6/diLFiGdWBaajEwKRBEa89SaUsC+xQV6XNl6DJOM7n7PbImi+bMfwsMRz07IEOC1CMKPE665zjMgmnk1AxGc78jfXqfDhpCJ7Q4boVQP6lvHOalhEwHhryP6aTr1+sZXYMyG80X3mw==-----END PKCS7-----
">
</form>

Posted 2/11/2007 2:45:00 PM Post #518
 

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being
May just be a tag out of place... What is the error?

Plato
Re-invent Technologies LLC
Re-invent Support Team
http://www.re-invent.com

Specializing in ASP.NET Hosting

Posted 2/11/2007 4:11:00 PM Post #519
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

I have uploaded the file to http://www.yasir.us/Donations.aspx

The <form> element isnt functioning properly. Would someone be able to help fix it?

Posted 2/11/2007 4:41:00 PM Post #520
 

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Hello,

I'm really not sure.. I could have one of our developers take a quick look at the code during the week.  It appears you have a conflict with your MasterPage.   If I copy the code that does include your Master Page into a new file (Donations2.aspx) your button works fine. There may be a conflict or incompatibility issue with the paypal code and your master page..



Plato
Re-invent Technologies LLC
Re-invent Support Team
http://www.re-invent.com

Specializing in ASP.NET Hosting

« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Administrator, Re-invent (Paul), Re-invent (Nick)

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 6:23am

Powered By InstantForum.NET v4.1.4 © 2010
Execution: 0.091. 11 queries. Compression Disabled.


Copyright 2008 Re-invent Technologies LLC. All Rights Reserved.