nopCommerce 3.50 PayPal Standard plugin error

Posted: September 13, 2017 at 4:24 PM Quote #192904
Dear all,

I'm new to nopCommerce and I'm trying to configure a payment type with the PayPal Standard plugin. Actually I'm using the paypal sandbox.

I've followed all the specified steps but I'm getting an error after the payment, when I'm redirected from paypal success payment screen to my test site. The resulting url

http://[testsite.com]/errorpage.htm?aspxerrorpath=/Plugins/PaymentPayPalStandard/PDTHandler


I've found other threads about this issue, but unfortunately I've not found an effective solution.

Can you help me find out what's happening?

Thank you
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 13, 2017 at 7:37 PM Quote #192908
Hello

Did you happen to check the error log?
Once you complete the payment what happened next?
Can you explain the stepe in more detailed manner?

Thanks
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Charith wickramasinghe
Posted: September 14, 2017 at 1:26 AM Quote #192921
Thank you fir the reply. The error log is the followibg:

WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) +916
   System.Net.HttpWebRequest.GetRequestStream() +13
   Nop.Plugin.Payments.PayPalStandard.PayPalStandardPaymentProcessor.GetPdtDetails(String tx, Dictionary`2& values, String& response) +404
   Nop.Plugin.Payments.PayPalStandard.Controllers.PaymentPayPalStandardController.PDTHandler(FormCollection form) +456
   lambda_method(Closure , ControllerBase , Object[] ) +104
   System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +157
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
   System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +22
   System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +29
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
   System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +50
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 14, 2017 at 2:08 AM Quote #192924
I think PayPal require SSL connection. When I google this issue. It seems not only nopcommerce but everyone have this issue.
Since you are using sandbox environment I assume you can turn off SSL requirement in PayPal settings
Just give it a go and see how it turns out
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Charith wickramasinghe
Posted: September 14, 2017 at 4:06 AM Quote #192933
Thank you for reply.

In my sandbox Payment preferences I have:

Auto Return for Website Payments: On
Return Url: set with details of the first message
PDT (optional):  On
Identity Token: set in the plungin config
Encrypted Website Payments: Off
PayPal Account optional: On
Support Express checkout settings: off

I don't find other options to disable ssl.

Thank you for your support
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 14, 2017 at 8:01 AM Quote #192968
Do you have SSL ? if so turn it on .. this seem to be an issue with security certificate
can you check with the same configuration in a nopCommerce 3.9 installation? (latest version at the time of writing this )
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Charith wickramasinghe
Posted: September 14, 2017 at 9:31 AM Quote #192973
Unfortunately I don't have an ssl certificate for my test doman. I've found that PayPal express doesn't require ssl. I could try that way.

So in your opinion it's not working because it requires an ssl connection?

Thank you
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 15, 2017 at 1:07 AM Quote #193001
At the end I've tried to upgrade nopCommerce to the version 3.90 and now the plugin works, without changing anything on paypal side.

Thank you for your assistance
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2017
Learn more