4.20 payment method Error

3 months ago
I am writing payment method for 4.20 but error.

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);
3 months ago
thanks rajupaladiya