Product Page Integration

How to Test Your Integration

Follow these directions to run test instructions through our sandbox server. Our sandbox server is an exact mirror of our production server. To differentiate between the two, we have left our security certificate expired on the sandbox server. Please add exceptions in your browsers if prompted to navigate and view all content.

Needed before the test

You will have to create two sandbox accounts, one for a merchant and one for a member. Where prompted in the registration process please use this routing number 063000021. The link to these pages are below.

  1. eLayaway sandbox merchant account
  2. eLayaway sandbox member account

Note: You will be emailed for each account created and must activate these accounts individually by clicking the activation link in each email.

Setting up the test

IMPORTANT: Once you have integrated the code into either the product page or shopping cart you will have to change three variables to post the transaction data to the merchant sandbox account rather than your live merchant account.

Step 1.

Change the following javascript in the header from:

To this:

Step 2.

Change the following line below:

To this:

Notice that you now have added 'http://sandbox.elayaway.com/purchase/capture' as an action which instructs the calculator to POST the transaction to our sandbox server.

Step 3.

Place your Sandbox Merchant ID here:

Important: Please make sure your sandbox merchant ID is correct.


How to run the test

  1. Click on the eLayaway button that you want to test.
  2. Set your payment schedule by clicking the (+) or (-) buttons and click "eLayaway now".
  3. Enter in the Sandbox MEMBER username and password when prompted.
  4. Confirm the purchase on the order summary page.
  5. View test orders.

How to view test orders

You now have a new test order in two sandbox test accounts and will receive a confirmation email in each account. To view the order in either account login here.

Note: make sure you are at the correct sandbox login screen rather than the production app login screen. View the URL to confirm that you are logging into sandbox. The sandbox login has "sandbox" rather than "app2" in the address.

Finishing Steps

Once you have confirmed that the test order is a success, make the following changes so that new orders are posted to our production server:

Step 1.

Change this:

Back to this:

Step 2.

Change this:

Back to this:

Step 3.

Replace your sandbox ID with your production ID. Place your live Merchant ID here:

You are now ready to accept eLayaway orders through your site!

Let's Move on to How to Market eLayaway to your customers.