On My cart page user selects Proceed for Payment and
lands on Payment Page. .Verify that the order creted on portal with the the same order number, the payment status should be Paid and order workflow status as order open.
Verify that the user should be able to see the Seller id and Seller name in Custom fields and Verify that both Seller id and Seller name should be same as in fornt end.
This is very critical and must be checked
Admin should not be able to save the values if any of the filed is left blank. When no value is available against a field then the admin must enter 0 as a value to proceed
Admin should not be able to edit or save the field if EPOD or invoice documents are not uploaded
Admin should not be able to edit or save these field if order status is anything other than delivered or picked up
When admin marks the order id status as ‘close’ then razor pay api should be triggered to route to initiate payment to 4 accounts I.e TCS,TDS,seller receivable net refund to buyer
Custom status “close” to be enabled only after all the “pay out fields” are populated.
Once the customer order status is changed to “close” we do not need any front end status for the same
Post the status change to close the Admin should not be able to edit and save any new values in these fields in MC
Transaction ID is created in razor pay for every transaction i.e TCS,tds ,seller,r eceivable, net refund to buyer.Hence the 4 transaction ID should be sent back to Merchant Centre and it should be visible in respective fields in merchant centre against that order ID.Against each order ID there should be 4 fields/columns where 4 different transaction ID can be saved
In case any or all of the 4 transactions with razor pay fail then the information of failed transaction should be recorded at merchant centre against the order ID for which ever transaction that the transaction ID is not received then the field will have value as ‘FAIL’
In any/all of the 4 transaction ID do not generated (which need to displayed in merchant centre) by razor pay I.e the response received from RP for a transaction is ‘FAILED’ then the respective field for that particular transaction has to be saved as ‘FAILED’ in merchant centre
If the amount is 0 for any of the fields for which payment API is to be then API should not trigger the payment for 0 value and hence the transaction ID will not be generated
If status received from razor pay is failed then order will be in. Failed status.If status is not confirmed by razor pay within 24 hrs then status will be as per state transition diagram I.e failed
When merchant center portal is down then admin will be able to see error message “Kindly try after sometime” in MC and admin should not be able to trigger razor pay apis or proceed further till merchant centre is up again
Account details for the 4 accounts: Net refund to buyer is paid to the customer account(details available as virtual account details captured during payment made by the customer on portal
Seller Receivable- Linked account will be created for Distributor in razor pay dashboard while onboarding. This unique number (linked account no) will be stored against the seller in commerce tools under virtual account no .This unique no needs to be passed in routing apis in case funds need to be transferred to item ex-saro steel
TCS- TDS-
For each of the 4 transactions with razor pay the original id will be captured in a field ‘notes’ in razor pay api(will passed through the api as below format).Hence the notes filed should contain the following information for each of the 4 transactions: Buyer -“JSWONE”+ ORDER ID Seller - “JSWONE” + ORDER ID TCS - “TCS” + Order ID TDS - “TDS” + Order ID