English 中文(简体)
PayPal testing without using Sandbox
原标题:

I am developing a website in PHP that accepts PayPal payments. It uses the IPN from PayPal and has a custom payment template etc etc. It all works great through the Sandbox server but when it comes to showing my client, I don t want to have to tell them to login to/create a Sandbox account, create a buyer account and make a payment - he hasn t got time for that and probably won t be able to do it.

Therefore, my question is - is there any simple way that I can show my client the PayPal integration in "test mode" without him using the sandbox? I realise that I can set the transaction value to 0.01 and just test on the live PayPal server but that isn t an ideal solution.

Cheers!

Edit: Just to better explain what I mean, this is what my client sees when he first goes to checkout;

alt text http://img3.imageshack.us/img3/2545/67913734.png

As you can see, he has to login to his Sandbox account before then purchasing the item using the buyer email that he sets up. It s just confusing and totally non user-friendly.

最佳回答

Unfortunately there isn t a way around this problem via paypal. Their sandbox will always require you to be logged in to actually demo.

Here are the solutions I have taken especially with remote clients.

  • Use Skype or similar service so I can share my screen as I demo how it works. This solution seems to work fairly well, and eliminates the need for them to take the extra steps required.
  • When working on something I want to quick demo for a client and get their take, I have started using http://www.jingproject.com/ It allows me to make a quick video of the process. It uploads it to their server and provides a url I can send the client to watch what I did.

Wish I could provide a more elegant solution.

问题回答

What I d do is integrate with the actual PayPal live site and use real money. The great thing is you can refund the transaction (including the fees) so nobody pays anything. I believe the refund timeframe is 30 days, but there s no reason to wait too long and risk it. The added advantage is that you get to prove to your client that the PayPal integration really works.

If there s a concern with littering the seller account with test transactions and refunds then go ahead and set up a separate seller account. It s quick to set up as long as you don t expect your test account to be receiving thousands of dollars.





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签