0

I am beginner php Programmer, i am creating a shopping cart application, I have already created Sandbox Seller and buyer A/c I jst want to know is it possible to show the demo of "payment" to client without creating (having paypal credentials of client's A/c) paypal A/c.

  • 1
    You can use mocking. Try this answer http://stackoverflow.com/questions/1244949/mocking-php-functions-in-unit-tests – sgud Oct 15 '12 at 20:01

1 Answers1

2

You can show demo up to the page redirects to PayPal sandbox, but you have to have PayPal buyer account to do some transaction.

You can keep logged into PayPal sandbox account earlier and while the page redirecting to PayPal page then it will automatically show the payment section by skipping login pages.

The Guru
  • 19
  • 2