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.
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.
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
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?
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.
Hi again
Now I have tried to create new files, and rename them. Seems like it works now. Must have been corrupted files
is working on a reply...