Using the Sandbox Personal account as a fictitious customer

dovberman
Contributor
Contributor

I set up the IPN to get transaction feedback when a payment is made.

 

When the Subscribe button is clicked, the credit card payment option is selected.

 

The credit card payment page asks for address and contact information as required entries.

 

How to I hide non required entries? I do not need the customer address.

 

The sandbox customer has the same EMail address as the vendor(developer). This causes the transaction to be rejected.  Can I use a fictitious EMail address for the sandbox customer?

 

Thanks,

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

skier
Advisor
Advisor

Unfortunately the "no_phone" variable is not valid.   All of the PayPal recognized variables can be found in PayPal's Website Payments Standard Integration Guide which can be here.

 

Regards,

 

skier

View solution in original post

Login to Me Too
4 REPLIES 4

skier
Advisor
Advisor

You can avoid not prompting the customer for a shipping address during the Checkout Process by including the following line of code in your item button:

<input type="hidden" name="no_shipping" value="1">

 

However, you cannot hide or alter the fields associated with gathering the credit card information as this information is required by the credit card companies, not PayPal.

 

As for a fictitious EMail address.   When you create a buyer and seller account in the Sandbox, PayPal generates a fictitious EMail address for each account based on the email address you used to setup your PayPal Sandbox Developer Account.   The buyer or customer email address is not the same as the seller email address.

 

Regards,

 

skier

Login to Me Too

dovberman
Contributor
Contributor

skier,

 

Thanks for the prompt reply.

 

I had overwritten the EMail address that the Sandbox had created for the sandbox customer.

 

<input type="hidden" name="no_shipping" value="1">

 

Is the following code correct for hiding the telephone entry?

 

<input type="hidden" name="no_phone" value="1">

 

Thanks,

 

Dovberman

Login to Me Too
Solved

skier
Advisor
Advisor

Unfortunately the "no_phone" variable is not valid.   All of the PayPal recognized variables can be found in PayPal's Website Payments Standard Integration Guide which can be here.

 

Regards,

 

skier

Login to Me Too

dovberman
Contributor
Contributor

You have been a great help.

 

Thanks,

 

David Martin

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.