We have created our Android app using Magento 2 Rest API and we are using Paypal as Payment Gateway. Now we want to save order with payment details. For that url is 'V1/carts/mine/payment-information' and what should be passed as additional info?
Hello @Sangeetha_Ram
I do not think you have to pass additional info manually after PayPal transaction IPN will auto save this info in database "sales_order_payment" -> additional_information field.
Hi Manish Mittal,
Thanks for your reply.. We are integrating paypal for android application.
'http://sitename/index.php/rest/V1/carts/mine/payment-information' should be called to save order details in database using Magento2 Rest API. If payment is 'cash on delivery' i can able to save order details in database and response returns an ID. If i use paypal as a payment method, it throws error.. 'Paypal gateway has rejected your request. Invalid token'. How to resolve this for REST API