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

[Woo POS - payments onboarding] Update WooPayments setup URL from Payments Overview to Payments Connect #14297

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

21.1
-----
- [*] Payments onboarding: for two onboarding errors that show a wp-admin Payments setup URL in a webview ("Payments plugin not setup" and "Stripe overdue" errors that can occur to both WooPayments and Stripe Extension), the webview is now set to Payments Connect instead of Payments Overview. [https://github.com/woocommerce/woocommerce-ios/pull/14297]


21.0
Expand Down
3 changes: 2 additions & 1 deletion WooCommerce/Classes/Extensions/Site+URL.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ extension Site {

/// Returns the plugin URL from wp-admin that handles pending tasks or requirements during onboarding.
/// Both WCPay and Stripe use the same URL.
/// Payments Connect page was recommended by the web team over Payments Overview page in pdfdoF-5Bo-p2#comment-6655
///
func cardPresentPluginHasPendingTasksURL() -> String {
return adminURL + "admin.php?page=wc-admin&path=%2Fpayments%2Foverview"
return adminURL + "admin.php?page=wc-admin&path=%2Fpayments%2Fconnect"
}

/// Returns the WooCommerce admin URL, or attempts to construct it from the site URL.
Expand Down
Loading