Spreedly Paypal gateway_specific_fields to return zipCode
Hallo,
I'm currently making the below spreedly:paypal call to authorize a card.
uri=https: //core.spreedly.com/v1/gateways/***************/authorize.json
body={
transaction: {
payment_method_token: '*********************',
amount: 1,
currency_code: 'EUR',
retain_on_success: true,
redirect_url: '*******',
callback_url: '*******'
}
}
In the response I'm looking for buyer information(zipCode, country, etc) as mentioned in the doc here: https://docs.spreedly.com/payment-gateways/paypal/#buyer-information
But my gateway_specific_response_fields are empty.
gateway_specific_fields: null,
gateway_specific_response_fields: {
},
How do I make sure that my authorize call includes buyer information as well. I scoured through the API doc, but I couldn't find any relevant detail.
Can you help me on how to get the buyer information in the response?
Thanks & Appreciate.
Please sign in to leave a comment.
Comments
0 comments