Closed JaiderMM closed 4 years ago
Estoy tratando de configurar en un nuevo proyecto la opcion de Oxxo PAY. Usando el ejemplo de la documentacion. conekta.Order order = new conekta.Order ().create(@"{ ""line_items"": [{ ""name"": ""Tacos"", ""unit_price"": 1000, ""quantity"": 12 }], ""shipping_lines"": [{ ""amount"": 1500, ""carrier"": ""FEDEX"" }]," + //shipping_lines - physical goods only @"""currency"": ""MXN"", ""customer_info"": { ""name"": ""Fulanito Pérez"", ""email"": ""fulanito@conekta.com"", ""phone"": ""+5218181818181"" }, ""shipping_contact"":{ ""address"": { ""street1"": ""Calle 123, int 2"", ""postal_code"": ""06100"", ""country"": ""MX"" } }," + //shipping_contact - required only for physical goods only @"""charges"":[{ ""payment_method"": { ""type"": ""oxxo_cash"", ""expires_at"": " + thirtyDaysFromNow + @" } }] }");
Pero siempre devuelve. Remote server returned an error: (422) Unprocessable Entity.
Estoy tratando de configurar en un nuevo proyecto la opcion de Oxxo PAY. Usando el ejemplo de la documentacion. conekta.Order order = new conekta.Order ().create(@"{ ""line_items"": [{ ""name"": ""Tacos"", ""unit_price"": 1000, ""quantity"": 12 }], ""shipping_lines"": [{ ""amount"": 1500, ""carrier"": ""FEDEX"" }]," + //shipping_lines - physical goods only @"""currency"": ""MXN"", ""customer_info"": { ""name"": ""Fulanito Pérez"", ""email"": ""fulanito@conekta.com"", ""phone"": ""+5218181818181"" }, ""shipping_contact"":{ ""address"": { ""street1"": ""Calle 123, int 2"", ""postal_code"": ""06100"", ""country"": ""MX"" } }," + //shipping_contact - required only for physical goods only @"""charges"":[{ ""payment_method"": { ""type"": ""oxxo_cash"", ""expires_at"": " + thirtyDaysFromNow + @" } }] }");
Pero siempre devuelve. Remote server returned an error: (422) Unprocessable Entity.