Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QL] Allow Nonce to be Copied for E2E Testing #1272

Merged
merged 14 commits into from
Apr 11, 2024

Conversation

jaxdesmarais
Copy link
Contributor

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).

  • 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.

Checklist

  • [ ] Added a changelog entry

Authors

@jaxdesmarais jaxdesmarais requested a review from a team as a code owner April 11, 2024 18:28
Base automatically changed from consolidate-returnURL-logic to paypal-app-switch-feature April 11, 2024 20:03
# Conflicts:
#	Sources/BraintreePayPal/BTPayPalReturnURL.swift
@jaxdesmarais jaxdesmarais merged commit 761fdce into paypal-app-switch-feature Apr 11, 2024
7 checks passed
@jaxdesmarais jaxdesmarais deleted the print-nonce-to-status-bar branch April 11, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants