Knowledgebase

Home » Item #518

Testing CactuShop with PayPal integration

Item: #518
Date: 5 Jun 2003
Applies to
v4

Question

We want to use the PayPal gateway to accept credit card payments. How can we test the system without actually generating cash transactions? PayPal doesn't seem to have a test mode.

Answer

Unlike most other gateways, PayPal doesn't have a test mode. However, it will accept much smaller transactions that most other gateways. They have advised us to place transactions for 1 cent.

We have therefore created a config setting in the PayPal section called 'PP_TestMode' that can be set to 'y' for testing. Any orders you pass through, regardless of value, will be changed to 0.01 of whatever currency you are using (or 1 of the currency if it does not have decimal fractions). This allows you to pass test orders very cheaply. Testing an integration shouldn't cost more than a few cents/pence/yen.

Can't find the answer you need? Click here to open a support ticket.

« Back