4.20 payment method Error

3 months 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
3 months ago
Have you used string.substring option for create payment form?
3 months ago
No. Only RemotePost Method

            RemotePost post = new RemotePost
            {
                Url = $"xxxxxxx",
                FormName = "xxx",
                Method = "POST",
                NewInputForEachValue = true,
            };
             post.Add("xxx", xxxxx);
             .......
             post.Post();
3 months ago
thanks rajupaladiya