@@ -111,12 +111,12 @@ redirect_output cli wp option set woocommerce_coming_soon "no"
111
111
echo " - Installing Storefront theme"
112
112
redirect_output cli wp theme install storefront --activate
113
113
114
- redirect_output cli wp wc --user=${ADMIN_USER} tool run install_pages
114
+ redirect_output cli wp --user=${ADMIN_USER} wc tool run install_pages
115
115
116
116
echo " - Configuring Shipping and Taxes"
117
- redirect_output cli wp wc shipping_zone create --name=" Everywhere" --order=1 --user= ${ADMIN_USER}
118
- redirect_output cli wp wc shipping_zone_method create 1 --method_id=" flat_rate" --user= ${ADMIN_USER}
119
- redirect_output cli wp wc shipping_zone_method create 1 --method_id=" free_shipping" --user= ${ADMIN_USER}
117
+ redirect_output cli wp --user= ${ADMIN_USER} wc shipping_zone create --name=" Everywhere" --order=1
118
+ redirect_output cli wp --user= ${ADMIN_USER} wc shipping_zone_method create 1 --method_id=" flat_rate"
119
+ redirect_output cli wp --user= ${ADMIN_USER} wc shipping_zone_method create 1 --method_id=" free_shipping"
120
120
redirect_output cli wp option update --format=json woocommerce_flat_rate_1_settings ' {"title":"Flat rate","tax_status":"taxable","cost":"10"}'
121
121
122
122
echo " - Creating Cart and Checkout shortcode pages"
@@ -135,7 +135,7 @@ echo " - Activating plugin"
135
135
redirect_output cli wp plugin activate woocommerce-gateway-stripe
136
136
137
137
echo " - Updating WooCommerce Gateway Stripe settings"
138
- redirect_output cli wp option add woocommerce_stripe_settings --format=json " {\" enabled\" :\" yes\" ,\" title\" :\" Credit Card (Stripe)\" ,\" description\" :\" Pay with your credit card via Stripe.\" ,\" api_credentials\" :\"\" ,\" testmode\" :\" yes\" ,\" test_publishable_key\" :\" ${STRIPE_PUB_KEY} \" ,\" test_secret_key\" :\" ${STRIPE_SECRET_KEY} \" ,\" publishable_key\" :\"\" ,\" secret_key\" :\"\" ,\" webhook\" :\"\" ,\" test_webhook_secret\" :\"\" ,\" webhook_secret\" :\"\" ,\" inline_cc_form\" :\" no\" ,\" statement_descriptor\" :\"\" ,\" short_statement_descriptor\" :\"\" ,\" capture\" :\" yes\" ,\" payment_request\" :\" yes\" ,\" payment_request_button_type\" :\" buy\" ,\" payment_request_button_theme\" :\" dark\" ,\" payment_request_button_locations\" :[\" product\" ,\" cart\" ,\" checkout\" ],\" payment_request_button_size\" :\" default\" ,\" saved_cards\" :\" yes\" ,\" logging\" :\" no\" ,\" upe_checkout_experience_enabled\" :\" yes\" }"
138
+ redirect_output cli wp option update woocommerce_stripe_settings --format=json " {\" enabled\" :\" yes\" ,\" title\" :\" Credit Card (Stripe)\" ,\" description\" :\" Pay with your credit card via Stripe.\" ,\" api_credentials\" :\"\" ,\" testmode\" :\" yes\" ,\" test_publishable_key\" :\" ${STRIPE_PUB_KEY} \" ,\" test_secret_key\" :\" ${STRIPE_SECRET_KEY} \" ,\" publishable_key\" :\"\" ,\" secret_key\" :\"\" ,\" webhook\" :\"\" ,\" test_webhook_secret\" :\"\" ,\" webhook_secret\" :\"\" ,\" inline_cc_form\" :\" no\" ,\" statement_descriptor\" :\"\" ,\" short_statement_descriptor\" :\"\" ,\" capture\" :\" yes\" ,\" payment_request\" :\" yes\" ,\" payment_request_button_type\" :\" buy\" ,\" payment_request_button_theme\" :\" dark\" ,\" payment_request_button_locations\" :[\" product\" ,\" cart\" ,\" checkout\" ],\" payment_request_button_size\" :\" default\" ,\" saved_cards\" :\" yes\" ,\" logging\" :\" no\" ,\" upe_checkout_experience_enabled\" :\" yes\" }"
139
139
140
140
echo " - Enabling the ACH feature flag"
141
141
redirect_output cli wp option update _wcstripe_feature_lpm_ach ' yes'
0 commit comments