Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Paypal integration test account

I am going to work on a project that involves Paypal function. My question what kind of account do I need to do the test? Do I need merchant account?

And if you also have a good reference site please share it here.

Thanks

like image 720
Willy Avatar asked Feb 24 '10 08:02

Willy


People also ask

How do I run PayPal in test mode?

If you want to avoid this charge or do more extensive testing, you can use the gateway in test mode in combination with a PayPal developer account. Go to Payment Setup and ensure the PayPal account is the one used in the Sandbox. Check the box Test mode. Switch to the sandbox gateway.

How configure PayPal in PHP?

Go through the below steps to set up a PayPal Sandbox account and test your PHP code for payment gateway integration. Create sandbox Business and Personal accounts via Dashboard -> Sandbox -> Accounts. Specify the sandbox business account email address in the payment form.


2 Answers

You will need both. The merchant/seller account is needed as the payment receiver. Buyer account is needed to do payment to seller.

PayPal have a complete documentation, see it all here. Important documentation to help you start quickly:

  1. PayPal Sandbox documentation.
  2. IPN Introduction.
  3. HTML Form Basics for Website Payments Standard
  4. Sample Code

If you using PHP, you might want to consider using this library to help you integrate PayPal Website Payment Standard easily.

like image 149
Donny Kurnia Avatar answered Oct 03 '22 07:10

Donny Kurnia


What you need depends on how you're integrating, but in general it's useful to have both a buyer and merchant account. Signing up for both is very easy on developer.paypal.com so it shouldn't be a problem setting up as many buyer/seller sandbox accounts as you need.

like image 36
Marek Karbarz Avatar answered Oct 03 '22 05:10

Marek Karbarz