PAYPAL ERROR CS0117

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
RichWendrock
Commander (CMDR)
Commander (CMDR)
Posts: 134
Joined: Sat Apr 05, 2008 12:55 am
Location: Austin Texas
Contact:

PAYPAL ERROR CS0117

Post by RichWendrock » Thu Apr 07, 2011 9:59 pm

After upgrading from 7.0.1 to 7.0.6 we are getting an error at check-out when clicking the PayPal button to pay. PayPal was working before the upgrade.

The error occurs on this page.
https://www.hillcountrycustomcycles.com ... derId=1108

This is the error message.
[[ConLib:ReceiptPage]] e:\hshome\hillcountry\hillcountrycustomcycles.com\ConLib\Utility\PayPalPayNowButton.ascx.cs(58): error CS0117: 'CommerceBuilder.Payments.Providers.PayPal.PayNowButton' does not contain a definition for 'AutoClick'

What must we do to fix this?
Regards,
Richard

http://www.TheHomePageStore.com

AbleCommerce
VERSION: 7.0.7.14588
MSSQL v2005
AC SCHEMA v2005
.NET CLR v2.0.50727.3634

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: PAYPAL ERROR CS0117

Post by mazhar » Fri Apr 08, 2011 3:13 am

Make sure that your PayPal DLL is the the one available with 7.0.6. Seems like for some reason your PayPal DLL is of some old version.

User avatar
RichWendrock
Commander (CMDR)
Commander (CMDR)
Posts: 134
Joined: Sat Apr 05, 2008 12:55 am
Location: Austin Texas
Contact:

Re: PAYPAL ERROR CS0117

Post by RichWendrock » Fri Apr 08, 2011 6:43 am

When we discovered a problem with paypal, I applied the patch for PAYPAL. Obviously that just caused more problems. I replaced the original dll for PayPal and that fixed this problem. I must wait and see if customers are still having problems.

Is there a better way to see a list of patches and the version of AbleCommerce to which they apply other than searching the forum?
Regards,
Richard

http://www.TheHomePageStore.com

AbleCommerce
VERSION: 7.0.7.14588
MSSQL v2005
AC SCHEMA v2005
.NET CLR v2.0.50727.3634

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: PAYPAL ERROR CS0117

Post by mazhar » Fri Apr 08, 2011 7:35 am

See upgrades and patch sections at help.ablecommerce.com

User avatar
RichWendrock
Commander (CMDR)
Commander (CMDR)
Posts: 134
Joined: Sat Apr 05, 2008 12:55 am
Location: Austin Texas
Contact:

Re: PAYPAL ERROR CS0117

Post by RichWendrock » Fri Apr 08, 2011 8:01 am

I looked at the patch for PayPal again.
Version:

AbleCommerce versions 7.0.5 and 7.0.6 only
Instructions:
1. Extract the CommerceBuilder.PayPal.dll to a temporary location.
2. Copy the new DLL file to the \bin\ folder of your AbleCommerce installation.
3. Make sure to recycle or restart the web application service.

That patch should fix the problem when the AbleCommerce installation resides at the root level of a website, the return PayPal notification URL that is generated may contain a double-slash. This may result in a "404-page not found" error.

Are you saying that patch should not be applied after upgrading to 7.0.6?
Regards,
Richard

http://www.TheHomePageStore.com

AbleCommerce
VERSION: 7.0.7.14588
MSSQL v2005
AC SCHEMA v2005
.NET CLR v2.0.50727.3634

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: PAYPAL ERROR CS0117

Post by Logan Rhodehamel » Fri Apr 08, 2011 9:50 am

I looked into the issue and discovered the 7.0.6 version of that patch is not available for download on the service bulletin. I have put in a request to have that updated. For now you should use the original PayPal DLL as the 7.0.5 version does not function. Once the service bulletin is updated you will be able to install the patch for the double slash issue.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: PAYPAL ERROR CS0117

Post by Katie » Fri Apr 08, 2011 10:21 am

The Paypal bulletin has been updated to include the patch for version 7.0.6.

http://help.ablecommerce.com/index.htm# ... _patch.htm

Sorry about that!
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
RichWendrock
Commander (CMDR)
Commander (CMDR)
Posts: 134
Joined: Sat Apr 05, 2008 12:55 am
Location: Austin Texas
Contact:

Re: PAYPAL ERROR CS0117

Post by RichWendrock » Fri Apr 08, 2011 9:56 pm

I applied the patch and modified the web.config file to force the system to reload. After the patch, orders are showing up as Authorization Pending.

Please advise...
Regards,
Richard

http://www.TheHomePageStore.com

AbleCommerce
VERSION: 7.0.7.14588
MSSQL v2005
AC SCHEMA v2005
.NET CLR v2.0.50727.3634

User avatar
RichWendrock
Commander (CMDR)
Commander (CMDR)
Posts: 134
Joined: Sat Apr 05, 2008 12:55 am
Location: Austin Texas
Contact:

Re: PAYPAL ERROR CS0117

Post by RichWendrock » Sat Apr 09, 2011 6:43 am

After applying the patch, I ran a test and now I am getting an error after making payment. The good news is even with the error, the order shows paid in AbleCommerce.

https://www.hillcountrycustomcycles.com ... derId=1118

Server Error in '/' Application.
The remote server returned an error: (400) Bad Request.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The remote server returned an error: (400) Bad Request.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[WebException: The remote server returned an error: (400) Bad Request.]
System.Net.HttpWebRequest.GetResponse() +5375213
CommerceBuilder.Payments.Providers.PayPal.PayPalProvider.ValidateNotification(String formValues) +271
CommerceBuilder.Payments.Providers.PayPal.IpnProcessor.ProcessRequest(HttpContext context) +1582
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Regards,
Richard

http://www.TheHomePageStore.com

AbleCommerce
VERSION: 7.0.7.14588
MSSQL v2005
AC SCHEMA v2005
.NET CLR v2.0.50727.3634

WebDev7
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 49
Joined: Thu Oct 14, 2010 7:25 am

Re: PAYPAL ERROR CS0117

Post by WebDev7 » Mon Apr 11, 2011 7:55 pm

Hi - Check to see if the PayPal Account ADMIN is set up correctly. Does it still have the double slashes in the return URL text box in the settings from before? You may want double check to see if all the other PayPal Account options are correctly set as well.

User avatar
RichWendrock
Commander (CMDR)
Commander (CMDR)
Posts: 134
Joined: Sat Apr 05, 2008 12:55 am
Location: Austin Texas
Contact:

Re: PAYPAL ERROR CS0117

Post by RichWendrock » Tue Apr 12, 2011 11:08 am

I am checking the PayPal settings but as you know it is difficult to determine where to find things. Presently customer can pay with PayPal but when they click on the link to return to our site they get the 400 error. There is no double slash in the link.
Regards,
Richard

http://www.TheHomePageStore.com

AbleCommerce
VERSION: 7.0.7.14588
MSSQL v2005
AC SCHEMA v2005
.NET CLR v2.0.50727.3634

WebDev7
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 49
Joined: Thu Oct 14, 2010 7:25 am

Re: PAYPAL ERROR CS0117

Post by WebDev7 » Tue Apr 12, 2011 11:12 am

This is in your PayPal.com account, or in your AbleCommerce account?
You need AUTO RETURN "ON" in your PAYPAL.com account as well.

User avatar
RichWendrock
Commander (CMDR)
Commander (CMDR)
Posts: 134
Joined: Sat Apr 05, 2008 12:55 am
Location: Austin Texas
Contact:

Re: PAYPAL ERROR CS0117

Post by RichWendrock » Tue Apr 12, 2011 12:03 pm

I found the PayPal settings under My Account/My Selling Tools and then click the Update option for Website preferences.

After making the changes listed in the AbleCommerce Help Manual under Configure > Payments > Gateways > PayPal, the customer is automatically returned to the My Order page (https://www.hillcountrycustomcycles.com ... x?OrderId=????)

The problem I see now is the order shows payment pending and a button appears with a message saying click PayPal to pay. Very confusing for the customer. When I look in the Order details in AbleCommerce Admin control panel the status of the order is paid and captured. When I refresh the My Order page the PayPal button disappears and the order shows Paid. It appears the My Order page is being displayed before the database transaction update is complete. It seems there should be a pause for a short time to make sure the database is updated.

Any suggestions?
Regards,
Richard

http://www.TheHomePageStore.com

AbleCommerce
VERSION: 7.0.7.14588
MSSQL v2005
AC SCHEMA v2005
.NET CLR v2.0.50727.3634

WebDev7
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 49
Joined: Thu Oct 14, 2010 7:25 am

Re: PAYPAL ERROR CS0117

Post by WebDev7 » Tue May 24, 2011 11:33 am

This would probably be becuase the sale isnt captured yet. You can set your PayPal gateway in ADMIN to authorize and capture. If this still doesnt work, make sure the IPN is turned on in PAYPAL Account.

Ming-Chu
Ensign (ENS)
Ensign (ENS)
Posts: 5
Joined: Mon Feb 28, 2011 9:34 pm

Re: PAYPAL ERROR CS0117

Post by Ming-Chu » Wed May 25, 2011 5:00 am

Hi all,

I have the same issue too.
I have set our PayPal gateway in Admin to "Sale" that capture funds immediately at the time of purchase. And I have also turned the IPN and AutoReturn ON in my PayPal account.

ps:
I am not sure some setting detail.
The "Return Url" in Paypal account is https://mystore.domain/ProcessPayPal.ashx... Is that right?
The "Payment Data Transfer" in Paypal account is turned ON... Is it necessary?

And my AC version is 7.0.7

Any more suggestions?

Thank you!

seanhoward
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Fri Oct 02, 2009 3:01 pm

Re: PAYPAL ERROR CS0117

Post by seanhoward » Tue May 31, 2011 1:32 pm

I'm getting this error as well, but my payments are getting paid. I just don't understand what can cause this. Please advise.

wave_werks
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 91
Joined: Mon Sep 22, 2008 8:37 pm
Location: Northeast Ohio
Contact:

Re: PAYPAL ERROR CS0117

Post by wave_werks » Wed Jun 01, 2011 1:06 pm

We've been having PayPal issues on 2 separate websites, including this issue, for the past 18 months. We're still on v7.0 Build 10863 and have not upgraded because none of the newer versions have yet to fix this problem. It's a terrible mess that needs to be fixed before any other features are added to the site. Aside from credit card payments PayPal is the single biggest provider of online payments. With the PayPal payment function still broken we continually see customers leave us after only one order because the site looks like a joke when the completion of a payment returns you to an error page instead of the order confirmation page. Not to mention that one of our sites was built with digital downloads as its main purpose. How are we supposed to advertise that we have immediate digital downloads when the payment is not immediately captured by the website? Knowing that it's still a problem in 7.0.6 does not leave me with much faith that Able will ever get it fixed.

Also, can you (Able) please do away with the redundant PayPal button? There's simply no need to click on a PayPal button only to be taken to an order confirmation page to have to click on yet another PayPal button. It's very, very confusing to customers. When you click on a credit card button you are able to enter your card details to immediately complete your transaction with absolutely no redundancy. Clicking on the PayPal button should simply complete the transaction in the background while seamlessly transferring the customer to the PayPal site to complete their payment. Instead, many customers see the order confirmation page and assume that they're all done even though they've never gone to PayPal. You can never, ever, assume that a customer is smart enough to think about these kinds of things. It's our job, and Able's job, to do this kind of thinking for them. This is a ridiculous and unnecessary step that needs to be removed as soon as possible.
- Jeff
Wave Werks

Post Reply