Paypal DirectPayement error - Must specify valid information for parsing in the string.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
15 Jahre weitere
Here is the error stack:

System.Exception: System.ArgumentException: Must specify valid information for parsing in the string. at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) at NopSolutions.NopCommerce.Payment.Methods.PayPal.PayPalDirectPaymentProcessor.GetPaypalCreditCardType(String CreditCardType) in C:\Documents and Settings\Chris\My Documents\Visual Studio 2008\Projects\NopEcr\EcrNop\Payment\Nop.Payment.PayPal\PayPalDirectPaymentProcessor.cs:line 318 at NopSolutions.NopCommerce.Payment.Methods.PayPal.PayPalDirectPaymentProcessor.AuthorizeOrSale(PaymentInfo paymentInfo, Customer customer, Guid OrderGuid, ProcessPaymentResult processPaymentResult, Boolean authorizeOnly) in C:\Documents and Settings\Chris\My Documents\Visual Studio 2008\Projects\NopEcr\EcrNop\Payment\Nop.Payment.PayPal\PayPalDirectPaymentProcessor.cs:line 236 at NopSolutions.NopCommerce.Payment.Methods.PayPal.PayPalDirectPaymentProcessor.ProcessPayment(PaymentInfo paymentInfo, Customer customer, Guid OrderGuid, ProcessPaymentResult& processPaymentResult) in C:\Documents and Settings\Chris\My Documents\Visual Studio 2008\Projects\NopEcr\EcrNop\Payment\Nop.Payment.PayPal\PayPalDirectPaymentProcessor.cs:line 141 at NopSolutions.NopCommerce.BusinessLogic.Payment.PaymentManager.ProcessPayment(PaymentInfo paymentInfo, Customer customer, Guid OrderGuid, ProcessPaymentResult& processPaymentResult) in C:\Documents and Settings\Chris\My Documents\Visual Studio 2008\Projects\NopEcr\EcrNop\Libraries\Nop.BusinessLogic\Payment\PaymentManager.cs:line 54 at NopSolutions.NopCommerce.BusinessLogic.Orders.OrderManager.PlaceOrder(PaymentInfo paymentInfo, Customer customer, Guid OrderGuid, Int32& OrderID) in C:\Documents and Settings\Chris\My Documents\Visual Studio 2008\Projects\NopEcr\EcrNop\Libraries\Nop.BusinessLogic\Orders\OrderManager.cs:line 1176

The error points back to the CreditCardType enum. They used a mastercard. I checked the paypal docs and it looks to me like the enum is sending the right answer. It is hard to tell what went wrong with no additional info from the payment.

Any ideas?
15 Jahre weitere
Nevermind. This was my mistake. I whacked it all out...
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.