PayPal DoDirectPayment Credit Card PHP Script

Process PayPal credit card payments directly on your website.

Process credit card payments directly on your website with this PayPal DoDirectPayment credit card PHP script. This credit card payment form script uses the PayPal NVP/SOAP (Classic) API integration and allows users to make payments directly on your website without having to visit the PayPal website.


Credit Card Payments Directly On Your Website With PayPal

PayPal Do Direct Payment PHP Script

Customizable HTML Payment Form

We have applied all necessary code within this script to ensure you can integrate your PayPal payment form easily within your website. This form and PHP script download consists of a customizable HTML payment form, notification pages, as well as the required PHP processors needed to function with PayPal. All you will need to do is add your PayPal API credentials.


PayPal Payments

Accept credit card payments on your website using the PayPal DoDirectPayment API.

Error Redirection

When a transaction fails, the user is redirected to a new page with PayPal error code.

Success Redirection

When a transaction is successful, the user is redirected to a new page.


To obtain your PayPal API credentials, login to PayPal, hover over your name on the top right, click account settings, then for API settings click update, you will then want to choose to manage the API credentials for NVP/SOAP API integration (Classic).