-
Notifications
You must be signed in to change notification settings - Fork 2k
Fix/atomic odyssey stats upsell modal #105138
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
base: trunk
Are you sure you want to change the base?
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
checkoutProductUrl.searchParams.set( 'redirect_to', redirectTo ); | ||
window.open( checkoutProductUrl, '_self' ); | ||
} else { | ||
page( `/checkout/${ siteSlug }/${ planSlug }?redirect_to=${ redirectTo }` ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This page
doesn't work on Jetpack.
return useQuery( { | ||
queryKey: queryKeys.plans( coupon ), | ||
queryFn: async (): Promise< PlansIndex > => { | ||
const data: PricedAPIPlan[] = await wpcomRequest( { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wpcomRequest doesn't work on Jetpack.
Part of #
Proposed Changes
Why are these changes being made?
Testing Instructions
widgets.wp.com
apps/odyssey-stats
yarn dev --sync
- this will copy the build to your sandboxUTM
orDevices
NOTE: Compared to the working version on Simple sites, the Premium pricing is missing.
Pre-merge Checklist