PayPal API does not return the exchange rate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to achieve the exchange rate's data in API but it return blank. Please see the Sandbox checkout button data, when capture the authorize payment via API - https://developer.paypal.com/docs/api/payments/v2/#authorizations_capture
I have implemented paypal smart button from this page - https://developer.paypal.com/docs/checkout/integration-features/auth-capture/
Here are some screenshots - https://snipboard.io/z1d8T5.jpg
I have paid through INDIAN Credit card and object return something like this. but I am getting exchange rate blank, and paypal payment page confirm with exchange rate, I already added the screenshot - https://snipboard.io/z1d8T5.jpg
stdClass Object ( [gross_amount] => stdClass Object ( [currency_code] => INR [value] => 4123.21 ) [paypal_fee] => stdClass Object ( [currency_code] => USD [value] => 2.50 ) [net_amount] => stdClass Object ( [currency_code] => USD [value] => 53.92 ) [exchange_rate] => stdClass Object ( ) )
Can you please provide the solutions for that?
- Labels:
-
PayPal HTML Buttons
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.