Currently our new Dashboard (#2360) links to user Accounts and Payments from the widgets but does not send the users directly to the spot in their Dashboard at my.proudcity.com instead sending them to the main Dashboard.
If we use getenv( 'WORDPRESS_DB_NAME' ) in the url we can send users to the full proper pages for their site.
We'll need to detect if the user has payments as sending them directly to /payments does not do any URL switching to send them to different pages if they don't use ProudCity payments. We should be able to use a value like getenv( 'PROUDCITY_PAYMENTS_SECRET' ) which is present means that the customer is using ProudCity payments.
Builds
Source CM
Currently our new Dashboard (#2360) links to user Accounts and Payments from the widgets but does not send the users directly to the spot in their Dashboard at
my.proudcity.com
instead sending them to the main Dashboard.If we use
getenv( 'WORDPRESS_DB_NAME' )
in the url we can send users to the full proper pages for their site.Accounts
Payments
We'll need to detect if the user has payments as sending them directly to
/payments
does not do any URL switching to send them to different pages if they don't use ProudCity payments. We should be able to use a value likegetenv( 'PROUDCITY_PAYMENTS_SECRET' )
which is present means that the customer is using ProudCity payments.