I have implemented flutter_paypal in my flutter application and i am giving this info in shipping address :
{
"shipping_address": {
"city": "Pheonix",
"line1": "North Scottsdale Road",
"recipient_name": "Ritik Garg",
"state": "Arizona",
"postal_code": "85050",
"country_code": "US"
}
}
but i am facing this error
onError: {name: VALIDATION_ERROR, details: [{field: city, issue: Value is invalid}, {field: state, issue: Value is invalid}, {field: zip, issue: Value is invalid}], message: Invalid request - see details, information_link: https://developer.paypal.com/docs/api/payments/v1/#error-VALIDATION_ERROR, debug_id: da305a6b81e30}
I have implemented flutter_paypal in my flutter application and i am giving this info in shipping address : { "shipping_address": { "city": "Pheonix", "line1": "North Scottsdale Road", "recipient_name": "Ritik Garg", "state": "Arizona", "postal_code": "85050", "country_code": "US" } }
but i am facing this error onError: {name: VALIDATION_ERROR, details: [{field: city, issue: Value is invalid}, {field: state, issue: Value is invalid}, {field: zip, issue: Value is invalid}], message: Invalid request - see details, information_link: https://developer.paypal.com/docs/api/payments/v1/#error-VALIDATION_ERROR, debug_id: da305a6b81e30}
anyone has solution for this?