https://developer.paypal.com/docs/api/payments/v2/ In v1, you could create a payment and authorize/capture the payment via either payments api or order api. In v2, it seems like paypal fixed the issue, now you need to create an order via order api and only then you could authrize or capture payments via payments api.
... View more
There are two ways you could create an order
1. You can create an order using Payment API with intent set to "Order" https://developer.paypal.com/docs/api/payments/#payment_create
2. You can create an order using Order API https://developer.paypal.com/docs/api/orders/#orders_create
What is the difference? Why create an order using Payment API over Order API ?
... View more