I have an application that needs to accept credit card as the payment method. The customers will enter their credit card info on my website. PayPal API supports direct credit card payment but I'm not sure if it is allowed in my country (Philippines).
PayPal accepts all types of credit card brands, including the major names like Visa, Mastercard, Discover and American Express. When you sign up with PayPal, your customers will be able to use whichever brand of debit or credit card they already have, offering a versatile new payment method for your business.
To make a direct payment, invoke DoDirectPayment with the transaction amount and buyer payment information. The assumes that you have met the prerequisites, can communicate with the PayPal server, and that the payment is a final sale. To set up your transaction request: Specify the transaction amount in decimals.
PayPal offers an API executor which allows developers to test and integrate products before launching. Use it to check the work of any product you've chosen.
You can enable customers to make PayPal and credit card payments with only a few clicks, depending on the country. You can accept an immediate payment or authorize a payment and capture it later. You can show details for completed payments, refunds, and authorizations. You can make full or partial refunds.
If you were referring to Direct Credit Card Payments (REST API), the PayPal REST API supports direct credit card payments, which are credit card payments without a separate web approval flow, in the following countries:
Canada
United States
United Kingdom
Please refer to:
https://developer.paypal.com/webapps/developer/docs/integration/direct/rest_api_payment_country_currency_support/#direct-credit-card-payments
So no, unfortunately it is not currently available in the Philippines.
REST is not available in Canada - even though the documentation says it is. We went through the whole exercise to put the API in place to find out it's not available - and probably will never be available. This is directly from the Partner Program head.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With