For E2E testing our sample merchant server is not set up with the same credentials we are using for this flow. To avoid breaking all other flows, we want to be able to copy the nonce and add it to a postman request to make the transaction sale API call (this will be built out internally be another team).
Add nonceCompletionBlock
When the status bar is tapped and this completion block is not nil we will copy this value just for this flow. All other flows will use their normal completion block and a transaction will be completed on tap of the status bar for those flows. Verified this in the demo app.
Summary of changes
For E2E testing our sample merchant server is not set up with the same credentials we are using for this flow. To avoid breaking all other flows, we want to be able to copy the nonce and add it to a postman request to make the transaction sale API call (this will be built out internally be another team).
nonceCompletionBlock
Checklist
Authors