Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Steven Sønderskov 30 posts 142 karma points
    Feb 07, 2013 @ 10:33
    Steven Sønderskov
    0

    PayPal error

    Hi

    When I try to use Paypal as the payment method on my test-shop i get this error:
    I have followed the Paypal guide at publicvoid.dk. Any suggestions? :)

    Unspecified error

    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.Security.Cryptography.CryptographicException: Unspecified error
    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.

    [CryptographicException: Unspecified error
    ]
       System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) +33
       System.Security.Cryptography.X509Certificates.X509Utils._QueryCertFileType(String fileName) +0
       System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromFile(String fileName, Object password, X509KeyStorageFlags keyStorageFlags) +100
       System.Security.Cryptography.X509Certificates.X509Certificate..ctor(String fileName, String password, X509KeyStorageFlags keyStorageFlags) +65
       System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(String fileName, String password, X509KeyStorageFlags keyStorageFlags) +61
      UCommerce.Transactions.Payments.PayPal.ButtonEncrypter..ctor(PayPalPaymentMethodServiceConfigurationSection config) +239
      UCommerce.Transactions.Payments.PayPal.PayPalWebSitePaymentsStandardPageBuilder.BuildBody(StringBuilder page, PaymentRequest paymentRequest) +191
       UCommerce.Transactions.Payments.AbstractPageBuilder.Build(PaymentRequest paymentRequest) +159
       UCommerce.Transactions.Payments.PayPal.PayPalPaymentMethodService.RenderPage(PaymentRequest paymentRequest) +13
       UCommerce.Transactions.Payments.PaymentRequestForm.ProcessRequest(HttpContext context) +205
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

     

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Feb 11, 2013 @ 10:26
    David Brendel
    0

    Maybe its becouse of the paypal certificates you have to create for using paypal.

    He tries to load one but he can't. Maybe the files are missing or corrupted. Have you tried to replace them with new files?

    Or have you set the right path for the certificates in the paypal config file?

  • Steven Sønderskov 30 posts 142 karma points
    Feb 11, 2013 @ 10:34
    Steven Sønderskov
    0

    I have created the certificates following the guide provided at publicvoid.dk, and I have not copy/pasted the commands, since Søren mentioned that it could create an error in the files, for some reason.

    I have tried to create new files, and replace the old ones, but still no luck. I have checked that the path to the files are correct. 

  • Steven Sønderskov 30 posts 142 karma points
    Feb 11, 2013 @ 10:40
    Steven Sønderskov
    100

    Hi again

    Now I have tried to create new files, and rename them. Seems like it works now. Must have been corrupted files 

Please Sign in or register to post replies

Write your reply to:

Draft