Skip to content

Commit 3bd851c

Browse files
authored
Define WOOPAY BLOG ID for E2E setup (#9371)
1 parent c83ab17 commit 3bd851c

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Significance: patch
2+
Type: dev
3+
Comment: Define WooPay Blog ID for e2e env setup
4+
5+

tests/e2e/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ E2E_WCPAY_STRIPE_TEST_SECRET_KEY=<stripe sk_test_xxx>
4545
E2E_WCPAY_STRIPE_TEST_WEBHOOK_SIGNATURE_KEY=<stripe whsec_xxx>
4646
# This should be the Stripe Account ID of a connected merchant account. For example, after onboarding an account, you can obtain the ID from WCPay Dev Tools.
4747
E2E_WCPAY_STRIPE_ACCOUNT_ID=<stripe acct_id>
48+
E2E_WOOPAY_BLOG_ID=<WPCOM Site ID for https://pay.woo.com>
4849
```
4950

5051
**Using Live Server**

tests/e2e/env/setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ if [[ "$E2E_USE_LOCAL_SERVER" != false ]]; then
6161
define( 'WCPAY_STRIPE_LIVE_SECRET_KEY', 'sk_live_XXXXXXX' );
6262
define( 'WCPAY_ONBOARDING_ENCRYPT_KEY', str_repeat( 'a', SODIUM_CRYPTO_SECRETBOX_KEYBYTES ) );
6363
define( 'WOOPAY_URL', 'https://pay.woo.com' );
64+
define( 'WOOPAY_BLOG_ID', '$E2E_WOOPAY_BLOG_ID' );
6465
"
6566
printf "$SECRETS" > "local/secrets.php"
6667
echo "Secrets created"

0 commit comments

Comments
 (0)