Setup in test mode
-
will you please explain me how to setup woocommerce payment plugin in test mode with test account credentials?
-
When you have WooCommerce Payments installed on a live website ( Not a localhost test site ) you can enable test mode payments from this setting below.
Image Link: https://cloudup.com/chfhtE_ME0P
You can then use any of these test cards to purchase orders in test mode.
hi @stuartduff thanks for Quick response but i am stuck at one step during “Connect your account and finish setup” where page is showing like “Select an account for payouts” please check attached screenshot link.
screenshot1and after this i am trying to use debit card with test card like 4242 4242 4242 4242 but shows error like below secreenshot.
screenshot 2kindly suggest how to complete these step with test card details. so i would able to use woocommerce payment method.
- This reply was modified 2 years, 5 months ago by shivamcedcoss12.
- This reply was modified 2 years, 5 months ago by shivamcedcoss12.
- This reply was modified 2 years, 5 months ago by shivamcedcoss12.
- This reply was modified 2 years, 5 months ago by shivamcedcoss12.
Hi @shivamcedcoss12,
From the screenshots that you’ve shared, it seems that you’re in the account creation process. Further, it looks like your account was created in live mode.
Link to image: https://d.pr/i/Q685OCIn this case, we may have to delete the account created so that you’re able to start afresh with creating a new test account.
We have more detailed steps on how you can create a test account here – https://woocommerce.com/document/payments/testing/dev-mode/.
To have the live account deleted, please contact us at WooCommerce.com > My Account > Support. You may need to login to your WooCommerce account or create an account before you can access that page.
Please include a link to this forum thread, so that we can keep track of what’s already been done.
We will be able to help you further there.
hi @abwaita thanks for kindly suggestion it really help me to setup woocommerce payment in test mode. now the woocommerce payment is almost setup on my demo site but still their is one issue will you please see attached screenshot and suggest me how to resolved this setup.
screenshotThanks for providing the screenshot of the issue you’re currently encountering. To help us look into this issue I have a few questions.
First, is this the original account that was created in live mode, or a separate account that you created in test mode?
Second, is your goal to accept live payments on this site or only to be functional in test mode?
Third, I’d like to take a look at what is running on the site, could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it into your reply.
Thanks!
Hi @snaacks
First,-> no i created another separate account in test mode.
Second,-> right now my goal is checking working of woocommerce payment method because i am working as developer and i need to make my custom plugin comtabile with woocommerce payment in terms of subscription, so currently i am want to work only with test mode.
Third-> here is System report for you please check.### WordPress Environment ### WordPress address (URL): https://demo.wpswings.com/userenv/demowps_wtsqHWHJHORB Site address (URL): https://demo.wpswings.com/userenv/demowps_wtsqHWHJHORB WC Version: 6.6.0 REST API Version: ? 6.6.0 WC Blocks Version: ? 7.6.0 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.30 PHP Post Max Size: 256 MB PHP Time Limit: 6000 PHP Max Input Vars: 4000 cURL Version: 7.83.1 OpenSSL/1.1.1o SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.35-MariaDB Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.1.2 WC Database Prefix: wp_ Total Database Size: 9.01MB Database Data Size: 7.07MB Database Index Size: 1.94MB wp_woocommerce_sessions: Data: 0.05MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.07MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.87MB + Index: 0.23MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 0.40MB + Index: 0.32MB + Engine MyISAM wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_comments: Data: 0.04MB + Index: 0.02MB + Engine MyISAM wp_duplicator_pro_entities: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_duplicator_pro_packages: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mail_bank: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mail_bank_logs: Data: 2.62MB + Index: 0.01MB + Engine MyISAM wp_mail_bank_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 1.25MB + Index: 0.06MB + Engine MyISAM wp_postmeta: Data: 1.34MB + Index: 0.92MB + Engine MyISAM wp_posts: Data: 0.10MB + Index: 0.05MB + Engine MyISAM wp_remove_menu_admin_profiles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_relationships: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_usermeta: Data: 0.08MB + Index: 0.05MB + Engine MyISAM wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_wc_order_stats: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_download_directories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wp_phpmyadmin_extension__errors_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_indexable: Data: 0.10MB + Index: 0.04MB + Engine MyISAM wp_yoast_indexable_hierarchy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_seo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### attachment: 39 page: 9 post: 2 product: 27 product_variation: 23 revision: 15 shop_coupon: 2 shop_order: 147 wpcf7_contact_form: 1 wps_subscriptions: 74 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (17) ### Add Login Text: by Jimmy Pe?a – 0.1.0 Classic Editor: by WordPress Contributors – 1.6.2 Contact Form 7: by Takayuki Miyoshi – 5.6 Remove admin menus by roles: by InfoD74 – 1.35 Subscriptions For WooCommerce: by WP Swings – 1.4.1 User Role Editor: by Vladimir Garagulya – 4.62 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3 WooCommerce Stripe Gateway: by WooCommerce – 6.4.1 WooCommerce Payments: by Automattic – 4.3.0 Subscriptions For WooCommerce Pro: by WP Swings – 2.1.1 WooCommerce: by Automattic – 6.6.0 (update to version 6.6.1 is available) Yoast SEO: by Team Yoast – 19.1 WP File Manager: by mndpsingh287 – 7.1.5 Mail Bank: by Tech Banker – 4.0.14 WP Migrate Lite: by Delicious Brains – 2.3.1 WP phpMyAdmin: by Puvox.software – 5.2.0.3 WPFront Notification Bar: by Syam Mohan – 3.2.0 ### Inactive Plugins (2) ### Duplicator Pro: by Snap Creek – 4.0.2 WP Mail SMTP: by WPForms – 3.4.0 ### Must Use Plugins (1) ### WP Migrate DB Compatibility: by Delicious Brains – 1.2 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #10 - /shop/ Cart: #11 - /cart/ Checkout: #12 - /checkout/ My account: #13 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Storefront Version: 4.1.0 Author URL: https://woocommerce.com/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ? Next scheduled: 2022-06-22 10:21:58 +00:00 Options: ? Notes: 86 Onboarding: skipped ### WooCommerce Payments ### Version: 4.3.0 Connected to WPCOM: Yes Blog ID: 208179691 Account ID: acct_1LD85b2HkLxH0sZk ### Action Scheduler ### Complete: 1,594 Oldest: 2022-04-12 07:36:39 +0000 Newest: 2022-06-22 06:57:20 +0000 Pending: 14 Oldest: 2022-06-22 07:56:15 +0000 Newest: 2022-06-22 13:19:58 +0000 ### Status report information ### Generated at: 2022-06-22 07:00:35 +00:00
i hope after this you will able to provide me solution for pending activation step.
Thanks!
- This reply was modified 2 years, 5 months ago by shivamcedcoss12.
- This reply was modified 2 years, 5 months ago by shivamcedcoss12.
Hi @shivamcedcoss12 ,
Thanks for sharing further details. Can you please confirm if you have added the
define( 'WCPAY_DEV_MODE', true );
line in your site’s wp-config.php file, and can you please send a screenshot of it?yes i have that code in wp-config.php file please check attached screenshotscreenshot
Hi there!
yes i have that code in wp-config.php file please check attached screenshotscreenshot
Thank you for getting back to us with the screenshot.
Based on this, and the previous screenshots you’ve shared, it seems you’ve already configured the extension. Note that the
wp-config
constant needs to be added before you begin setting up WooCommerce Payments and not after the process.As of now, you have two options:
1. Complete setting up the account for live mode, and once your account is ready for live mode, switch to test mode as per Enable Test Mode – Documentation
2. If you are not going to be accepting live cards on the test site at all, then you can contact us directly from the email address you used to set up the WooCommerce Payments account via [email protected], and request to delete the current account so that you can set up a new account in dev mode.hi,
Thank you for kind suggestion it help me alot to do proper setup in test mode now it working properly on my site with test mode. now their is only one question kindly assist me on this too.
can you tell me from where i can check payment done through on my site on stripe express/ woocommerce payment ? right now i am searching on in of my account stripe express but it does not showing anywhere. please assist me on that too.
screenshotThank you
- This reply was modified 2 years, 5 months ago by shivamcedcoss12.
Hello @shivamcedcoss12
Thank you for kind suggestion it help me alot to do proper setup in test mode now it working properly on my site with test mode.
That’s great to hear! Thanks for letting us know.
can you tell me from where i can check payment done through on my site on stripe express/ woocommerce payment ? right now i am searching on in of my account stripe express but it does not showing anywhere. please assist me on that too.
For payments done via Stripe extension, you can check the transaction details for the payment gateway on your Stripe account.
For payment done via WooCommerce Payments, you can check the transactions under WP Admin > Payments > Transactions.
—
Irrespective of the payment gateway, you can find the order details for all store orders under
WP Admin > WooCommerce > Orders
.
thank you
issue resolvedGlad to hear it – thanks for letting us know!
If you have any further questions, I recommend creating a new thread.
- The topic ‘Setup in test mode’ is closed to new replies.