4.20 payment method Error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hi,
I am writing payment method for 4.20 but error.

http://esan.local/checkout/OpcCompleteRedirectionPayment
startIndex cannot be larger than length of string.
Parameter name: startIndex

I am using RemotePost method.

please help
4 years ago
Have you used string.substring option for create payment form?
4 years ago
No. Only RemotePost Method

            RemotePost post = new RemotePost
            {
                Url = $"xxxxxxx",
                FormName = "xxx",
                Method = "POST",
                NewInputForEachValue = true,
            };
             post.Add("xxx", xxxxx);
             .......
             post.Post();
4 years ago
thanks rajupaladiya
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.