Page 1 of 1
PAYPAL ERROR CS0117
Posted: Thu Apr 07, 2011 9:59 pm
by RichWendrock
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?
Re: PAYPAL ERROR CS0117
Posted: Fri Apr 08, 2011 3:13 am
by mazhar
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.
Re: PAYPAL ERROR CS0117
Posted: Fri Apr 08, 2011 6:43 am
by RichWendrock
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?
Re: PAYPAL ERROR CS0117
Posted: Fri Apr 08, 2011 7:35 am
by mazhar
See upgrades and patch sections at help.ablecommerce.com
Re: PAYPAL ERROR CS0117
Posted: Fri Apr 08, 2011 8:01 am
by RichWendrock
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?
Re: PAYPAL ERROR CS0117
Posted: Fri Apr 08, 2011 9:50 am
by Logan Rhodehamel
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.
Re: PAYPAL ERROR CS0117
Posted: Fri Apr 08, 2011 10:21 am
by Katie
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!
Re: PAYPAL ERROR CS0117
Posted: Fri Apr 08, 2011 9:56 pm
by RichWendrock
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...
Re: PAYPAL ERROR CS0117
Posted: Sat Apr 09, 2011 6:43 am
by RichWendrock
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
Re: PAYPAL ERROR CS0117
Posted: Mon Apr 11, 2011 7:55 pm
by WebDev7
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.
Re: PAYPAL ERROR CS0117
Posted: Tue Apr 12, 2011 11:08 am
by RichWendrock
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.
Re: PAYPAL ERROR CS0117
Posted: Tue Apr 12, 2011 11:12 am
by WebDev7
This is in your PayPal.com account, or in your AbleCommerce account?
You need AUTO RETURN "ON" in your PAYPAL.com account as well.
Re: PAYPAL ERROR CS0117
Posted: Tue Apr 12, 2011 12:03 pm
by RichWendrock
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?
Re: PAYPAL ERROR CS0117
Posted: Tue May 24, 2011 11:33 am
by WebDev7
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.
Re: PAYPAL ERROR CS0117
Posted: Wed May 25, 2011 5:00 am
by Ming-Chu
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!
Re: PAYPAL ERROR CS0117
Posted: Tue May 31, 2011 1:32 pm
by seanhoward
I'm getting this error as well, but my payments are getting paid. I just don't understand what can cause this. Please advise.
Re: PAYPAL ERROR CS0117
Posted: Wed Jun 01, 2011 1:06 pm
by wave_werks
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.