I want to give my customers this selection for payment method:
- Paypal
- Credit Card
Paypal works fine (I use PHP REST Api):
$payer = new \PayPal\Api\Payer();
$payer->setPaymentMethod('paypal');
But for credit card payment, I can't find any interface? The API examples need credit card information already, but I want paypal to do that? Searching for that, I found only NVP Express API, but this API is deprecated already.
At every paypal login there is a credit card button after login, and it leads to credit card payment page -> thats what I want. Is there a way to access this page directly? Or something similar?