Professional Documents
Culture Documents
http://ite3.snapdeal.com:10322
After Upload, navigate to Admin Tasks>>Task Detail(on LHS)>>Update Task Info, and start JobPoller job.
Now verify the POG using gift wrap API.
curl -v -X POST -HContent-Type:application/json --data-binary
'{"supc":"574135","vendorCode":"0cac8d","sellingPrice":"100","responseProtocol":"PROTOCOL_JSON","requestProtoco
l":"PROTOCOL_JSON"}' http://127.0.0.1:8081/service/cocofs/getGiftWrapperInfoBySUPCVendor | python -m json.tool
(For Staging)
Now select the product, go to payment page, and check the Giftwrap option:
Apply gift wrap, and check gift wrap apply omniture script getting called.
Script will get called for gift wrap apply/edit/remove.
Book the order, and check order details, it should be having gift wrap charges:
Test Scenarios:
1. Without gift wrap charges:
Message of order booking will go to the mobile number and name entered in shipping page.
2. With gift wrap charges:
Message of order booking will go to the mobile number and name entered in payment page under gift wrap tab.
3. With gift wrap charges after editing info:
Message of order booking will go to the mobile number and name edited in payment page under gift wrap tab.
4. With gift wrap charges after removal:
Message of order booking will go to the mobile number and name entered in shipping page.