This document discusses the technical details of how SAP integration is done with Xoxoday.
F.1.Make sure the client creates a ticket with SAP Team as mentioned in step no 10 (https://help.sap.com/viewer/70b6f618048540f0847db586847bc14d/2011/en-US/6a7a534fa3414a508235ff7830b6c937.html). Open a ticket with SuccessFactors Technical Support with the following code: LOD-SF-RNR-SCR and provide Technical Support with the AssertionConsumerService URL and Logout URL you gathered. Technical Support adds the AssertionConsumerService URL - along with the Logout URL - to its list of Authorized Service Provider Assertion Consumer Services.
Client should click on recharge.
Enter the amount and click on "Proceed to Payment"
Enter your phone number.
Choose to pay by card and use the following details:
Card Number: 5123456789012346
Name : test CVV: 123 expiry: 05/2021.
You will be redirected to a page with the title "AXIS SIMULATOR" asking for an OTP. Please enter the OTP as 123456 and hit the submit button.
This should add the entered amount to your balance and you will be ready to place orders.
For logging into the stores platform the SAP user clicks on Redeem Flex Reward on SAP Home Page. PFA.
After clicking the Redeem Flex Reward button, SAML Login process is initiated and SAML response is posted to AUTH API (https://staging.xoxoday.com/chef/sso/validate-saml) where the SAML response is validated against the Metadata updated in SAML Metadata by super admin.
After successful SAML authentication SAP user is redirected to Stores Home Page(https://stagingstores.xoxoday.com). PFA
After SAML Authentication and before the user is redirected to stores, the user is created/updated in the Xoxoday database using consumer API. The fields for the user updated are email, first name, and last name. After the user creates/updates using Consumer API the session is generated by AUTH API (where we store Third-Party Data along with token_info ) and redirected to Stores. Here the third-party data will contain SAP Username and SAP API parameters which are used for calling SAP user details, SAP points, and point redemption APIs. SAP API Postman Collection
SAP User Redirection to Stores Platform