Tutorials > Sales Center > Extend a page in an editor
Test the changes
You are now ready to test the updated user interface and determine if the database on the server side gets updated with the new gift card information.
To test this customization:
Procedure
- Verify the test server in the server development environment is running.
- Start the IBM Sales Center client and log in.
- Select the store and create an order
- On the Payment page, specify the payment information...
- In the Payment section, click Add.
- From the Payment type drop-down list, select Visa.
- In the Card number field, enter 4111111111111111 (that is a 4 followed by 15 ones).
- Select an expiry month and year in the future.
- Click OK.
- Specify the gift card information,...
- In the Name of recipient field, enter Jane.
- In the Name of sender field, enter Bob.
- In the Message 1 field, enter Happy Birthday!
- In the Message 2 field, enter Have a wonderful day!
- Click Submit (scroll to the right to locate this button if you do not see it).
- You should receive a message indicating that the order was created successfully and make note of the order number.
- Now we will query the database to see if the GIFTORDER table got updated,...
- On the WebSphere Commerce Developer machine, open a Web browser.
- Enter the following URL: http://localhost/webapp/wcs/admin/servlet/db.jsp
- In the statement box, enter select * from xordgift; and click Submit Query.
- The result table will show an updated row with the new gift card message information for the new order.
You have now integrated the customization on the server side, and tested the changes to ensure they are working properly. In the next step of the tutorial we will return the values from the database to the IBM Sales Center client.