-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial groundwork for generating test mode Stripe Connect URLs (#3320)
* Add support for sending test mode requests to api.woocommerce.com * Update the account connection UI to support test and live account connections * Translate connect button text and make it consistent with other connect UI * Remove legacy oauth function * Update Woo Connect Server enpoints for test/sandbox mode * Add Connect a test account button to onboarding page * Update JS tests for Connect account buttons * Pass the account ID to the oauth init request if its connected to an application * Add tests for get_cached_account_data() with param * Fix unit tests * Include check for is_null * Remove extra line added by mistake * Add $mode param function doc block comments * When caching an account in a specific mode, ensure we set the correct secret * Add unit tests for WC_Stripe_API * fix unit test --------- Co-authored-by: Diego Curbelo <[email protected]>
- Loading branch information
1 parent
55daf17
commit 5ca67d4
Showing
12 changed files
with
409 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.