The PayPal SandBox allows you to create a virtual environment that mimics
your storefront and buyers to fully test your PayPal implementation including
the integration with software_DNA.
In the PayPal SandBox you will need to also configure the IPN URL
to point to the DNA Connector.
You should also create a buyer account to do your testing.
From the Home page of your SandBox account, manually create a buyer account,
and use the email address swtest. such as
swtest@softworkz.com
Orders from this email address will be recognized as TEST ORDERS by the DNA Server and notification
emails will be redirected to the Prod_Contact_Email for the Product ordered.
From the PayPal SandBox account, you can create PayPal BUY
buttons, and then use them to buy products using the swtest account.
Consult the PayPal website for more details on how to set-up your SandBox account and use it.
Testing with new DNA Products
The best time to do testing of the connector with PayPal is when the DNA Product is still in
TESTING MODE in software_DNA.
If the corresponding software_DNA product is in TESTING MODE,
then the PayPal Test Order transactions will be completely processed, license activation codes will
be generated/reserved, the license code will be sent to the Buyer and confirmation emails will be sent to you from
PayPal and from softWORKZ. Check the emails received to ensure all is working. You can also verify that the license codes
have been properly created/updated in the DNA Control Panel.
Note that PayPal will send the Buyer and Vendor notification emails to the SandBox email accounts that can be viewed from the SandBox account, and will not be sent to your regular email address.
Remember that when you end TESTING MODE,
all these fictitious codes will be deleted and statistics will be reset for the product.
IMPORTANT NOTES
During Test Orders, you will be asked to enter a PayPal Buyer account - here you would use the Buyer
account created within the SandBox environment.
Testing with Existing ACTIVE DNA Products
If the Product is already in ACTIVE mode in software_DNA, testing of the
PayPal connector can also be done.
This is useful if you wish to add the PayPal connector to an ACTIVE Product or
because you want to regularly test the PayPal connector to ensure all is in working order.
If the Product is ACTIVE, then your Test Order transactions
will be validated but no action will be taken (ex: no license codes will be generated). You will receive emails from PayPal
with the Activation Code PAYPAL_TEST_ORDER
and an email from softWORKZ confirming
the transaction was successfully received and validated, but not processed.
Quick tutorial on the PayPal SandBox
The PayPal Sandbox environment sets up a complete testing environment you can use for all your testing
for PayPal, including the end-to-end purchase process and the integration with software_DNA.
Highly recommend to read the PayPal Documentation on the Sandbox here
PayPal Sandbox, but below is a short summary of the key steps
with regards to testing with software_DNA.
Set-up the different SandBox accounts (all fictitious)
Set-up your Business
Set-up the software_DNA Connector to receive Test Orders for Test Products