I am getting the following error from sagepay when trying to make a payment (test mode).
Unable to redirect to Vendor's web site. The Vendor failed to provide a RedirectionURL
When looking at the sites's errors, we can see the following:
Method not found: 'Int32 UCommerce.EntitiesV2.Payment.get_PaymentStatusId()'. Void ProcessCallback(UCommerce.EntitiesV2.Payment) at UCommerce.PaymentProviders.SagePayLP.SagePayExternalPaymentMethodService.ProcessCallback(Payment payment) at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)
What?!
I used ILSpy to reflect the binaries back to C# code and we can see that there's a PaymentStatus property with a getter and setter but, as the error clearly says, there's no PaymentStatusId property with a getter.
How can this happen? And please how can I solve this issue?
PS: I am using a SagePay provider to display the payment form inside an iframe (UCommerce.PaymentProviders.SagePayLP.dll).
SagePay 5006 error
I am getting the following error from sagepay when trying to make a payment (test mode).
Unable to redirect to Vendor's web site. The Vendor failed to provide a RedirectionURL
When looking at the sites's errors, we can see the following:
Method not found: 'Int32 UCommerce.EntitiesV2.Payment.get_PaymentStatusId()'. Void ProcessCallback(UCommerce.EntitiesV2.Payment) at UCommerce.PaymentProviders.SagePayLP.SagePayExternalPaymentMethodService.ProcessCallback(Payment payment) at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)
What?!
I used ILSpy to reflect the binaries back to C# code and we can see that there's a PaymentStatus property with a getter and setter but, as the error clearly says, there's no PaymentStatusId property with a getter.
How can this happen? And please how can I solve this issue?
PS: I am using a SagePay provider to display the payment form inside an iframe (UCommerce.PaymentProviders.SagePayLP.dll).
Thanks,
Fabio
Looks like your payment provider is compiled against uCommerce 2, but is running on a uCommerce 3 setup.
The PaymentStatusId property was replaced in uCommerce 3 with Payment.PaymentStatus.PaymentStatusId (as per the release note).
You can fix this to update the payment provider code to use the uCommerce 3 DLLs and change the code from:
"payment.PaymentStatusId" to "payment.PaymentStatus.PaymentStatusId" .
Sorry about the inconvenience.
is working on a reply...