Description
Changes proposed in this Pull Request
- Remove references to
siteless.jetpack.com
from the Purchases section that don’t add useful information and might be confusing to some users.
Testing instructions
- Run this PR locally with
yarn start
.
- Sandbox
public-api.wordpress.com
.
- Enable
USE_STORE_SANDBOX
so you can use a fake credit card (using credits makes appear many other warnings in the Purchase section and we won’t be dealing with them on this PR).
- Purchase a product and a plan.
- Visit the
/me/purchases
section.
- Make sure the purchases look like in the PR (you should not see any reference to
siteless.jetpack.com
).
- Visit the purchase records of both the product and the plan.
- Make sure the purchase records look like in the PR (you should not see any reference to
siteless.jetpack.com
).
- Go through the cancellation flow and make sure the last step looks like the capture below (no references to
siteless.jetpack.com
).
Related to 1200479326344990-as-1200641987599725
Demo
The images on the left correspond to how things look now in production, on the right how they look after these changes.
/me/purchases
![](https://user-images.githubusercontent.com/3418513/126832264-6453dee1-c0b1-4a98-9442-0e78e2325a72.png)
/me/purchases/siteless.jetpack.com/:purchaseId
– Product view
![](https://user-images.githubusercontent.com/3418513/126832712-6299477e-642e-468b-a8be-4aa8a121c43d.png)
/me/purchases/siteless.jetpack.com/:purchaseId
– Plan view
![](https://user-images.githubusercontent.com/3418513/126832923-84942971-a8be-46ca-b5e3-5e95abd31d07.png)
/me/purchases/siteless.jetpack.com/:purchaseId
– Cancel product modal
![](https://user-images.githubusercontent.com/3418513/126833217-20a9e66b-9617-4eea-be0c-7c2b1ea1ae41.png)
/me/purchases/siteless.jetpack.com/:purchaseId
– Cancel plan modal
![](https://user-images.githubusercontent.com/3418513/126833103-e9bda940-b650-4b62-b1c7-f3e7d2e17845.png)
![](https://user-images.githubusercontent.com/3418513/126833145-51da4959-6c9c-4ece-ba5b-0589e913a4ef.png)
Unfortunately, no screenshots were provided by the developer.