{"id":1960142,"date":"2024-05-22T17:38:27","date_gmt":"2024-05-22T21:38:27","guid":{"rendered":"https:\/\/theeventscalendar.com\/knowledgebase\/?p=1960142"},"modified":"2026-04-10T13:09:49","modified_gmt":"2026-04-10T17:09:49","slug":"test-payments-with-tickets-commerce","status":"publish","type":"post","link":"https:\/\/theeventscalendar.com\/knowledgebase\/test-payments-with-tickets-commerce\/","title":{"rendered":"Test Purchases with Tickets Commerce"},"content":{"rendered":"\n<p>Before going live with ticket sales, it&#8217;s a good idea to run a test purchase to make sure your payment gateway is connected correctly, your checkout and success pages are working, and your attendees will receive their ticket confirmation emails. Tickets Commerce supports test mode for both Stripe and PayPal, which lets you simulate the full purchase flow without processing real payments or charges. This guide walks you through enabling test mode and completing a test transaction for each gateway.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-test-purchases-with-stripe\">Test Purchases with Stripe<\/h2>\n\n\n\n<p>First, you&#8217;ll need to have Tickets Commerce enabled and Stripe connected. Go to <strong>Tickets > Settings > General<\/strong>, click the <strong>Enable Test Mode<\/strong> option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"119\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-9-1024x119.png\" alt=\"\" class=\"wp-image-1960072\" style=\"object-fit:cover\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-9-1024x119.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-9-300x35.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-9-768x89.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-9.png 1026w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Scroll down to the bottom of the page and click the <strong>Save Changes<\/strong> button.<\/p>\n\n\n\n<p>To test the actual purchase process, first, create an event with tickets. You can create a Private event so that it does not show on your calendar while you are testing. Add a ticket from your event and click <strong>Get Tickets <\/strong>to proceed to Checkout. Enter a name in the <strong>Person purchasing tickets<\/strong> field and an email in the <strong>Email address<\/strong> field.<\/p>\n\n\n\n<p>On the checkout page, enter one of Stripe&#8217;s <a href=\"https:\/\/docs.stripe.com\/testing#cards\" target=\"_blank\" rel=\"noreferrer noopener\">Test Cards<\/a> to simulate payment (test mode will not accept live credit card data), for example:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Card Number<\/strong><\/td><td><strong>Expiration<\/strong><\/td><td><strong>CVC (3 digit code)<\/strong><\/td><\/tr><tr><td>4242 4242 4242 4242<\/td><td>Any future date<\/td><td>Any three (3) digits<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/Checkout-Stripe-Test-Card-1024x552.png\" alt=\"Stripe Test Card Data\" class=\"wp-image-1960360\" style=\"object-fit:cover\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/Checkout-Stripe-Test-Card-1024x552.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/Checkout-Stripe-Test-Card-300x162.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/Checkout-Stripe-Test-Card-768x414.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/Checkout-Stripe-Test-Card.png 1272w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You&#8217;ll be redirected to the <strong>Order Completed<\/strong> page (set under <strong>Tickets > Settings > Payments<\/strong>)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"706\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-40.png\" alt=\"\" class=\"wp-image-1960158\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-40.png 646w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-40-275x300.png 275w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-test-purchases-with-paypal\">Test Purchases with PayPal<\/h2>\n\n\n\n<p>To test purchases with PayPal, you&#8217;ll need to connect a PayPal Sandbox account with your site. Once you&#8217;re done testing, you&#8217;ll then need to reconnect your site with a real PayPal account.<\/p>\n\n\n\n<p>1. Log into the WordPress Admin Dashboard, then go to <strong>Tickets &gt; Settings &gt; Payments<\/strong>.<\/p>\n\n\n\n<p>2. Under the <strong>General<\/strong><em> <\/em>section, click the <strong>Enable Test Mode<\/strong> option. Scroll down to the bottom of the page and click the <strong>Save Changes<\/strong> button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"119\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-9-1024x119.png\" alt=\"\" class=\"wp-image-1960072\" style=\"object-fit:cover\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-9-1024x119.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-9-300x35.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-9-768x89.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-9.png 1026w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>3. Click <em>Connect to PayPal <\/em>and go through the connection process using your <strong>PayPal Sandbox account <\/strong>email. You will see <code>sandbox.paypal.com<\/code> in the address bar of the pop-up.<\/p>\n\n\n\n<p class=\"has-theme-palette-8-background-color has-background\"><strong>Note:<\/strong> Your regular PayPal Business account credentials will not work to log into PayPal Sandbox. Use the PayPal Sandbox account you set up at the beginning of this article.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"1024\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup-679x1024.png\" alt=\"\" class=\"wp-image-1960434\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup-679x1024.png 679w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup-199x300.png 199w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup-768x1159.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup-1018x1536.png 1018w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup.png 1116w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"744\" height=\"1024\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup-2-744x1024.png\" alt=\"\" class=\"wp-image-1960436\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup-2-744x1024.png 744w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup-2-218x300.png 218w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup-2-768x1058.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup-2-1115x1536.png 1115w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-login-popup-2.png 1124w\" sizes=\"auto, (max-width: 744px) 100vw, 744px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>4. Click <strong>Return to &#8230;&#8217;s Test Store<\/strong>, where a confirmation popup will be displayed. Ensure it says <strong>You have connected your account for test mode. You will need to connect again once you are in live mode<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1638\" height=\"998\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/You-are-now-connected-to-PayPal.png\" alt=\"PayPal Sandbox connected confirmation popup\" class=\"wp-image-1960438\" style=\"object-fit:cover\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/You-are-now-connected-to-PayPal.png 1638w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/You-are-now-connected-to-PayPal-300x183.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/You-are-now-connected-to-PayPal-1024x624.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/You-are-now-connected-to-PayPal-768x468.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/You-are-now-connected-to-PayPal-1536x936.png 1536w\" sizes=\"auto, (max-width: 1638px) 100vw, 1638px\" \/><\/figure>\n\n\n\n<p>5. The PayPal section under the <strong>Tickets Commerce <\/strong>tab should look like this. Make sure to toggle the <strong>Enable PayPal<\/strong> option and click the <strong>Save Changes<\/strong> button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"699\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-is-now-connected-1024x699.png\" alt=\"PayPal is now connected confirmation\" class=\"wp-image-1960440\" style=\"object-fit:cover\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-is-now-connected-1024x699.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-is-now-connected-300x205.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-is-now-connected-768x524.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-is-now-connected-1536x1049.png 1536w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-is-now-connected-2048x1398.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To test the actual purchase process, first, create an event with tickets. You can create a Private event so that it does not show on your calendar while you are testing. Add a ticket from your event and click <strong>Get Tickets <\/strong>to proceed to Checkout. Enter a name in the <strong>Person purchasing tickets<\/strong> field and an email in the <strong>Email address<\/strong> field.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"830\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-27.png\" alt=\"\" class=\"wp-image-1960104\" style=\"width:450px;height:auto\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-27.png 698w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-27-252x300.png 252w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/figure>\n\n\n\n<p>Click the <strong>PayPal <\/strong>button. When prompted, enter your <strong>PayPal Sandbox account<\/strong> email, and complete the purchase. You will still see <code>sandbox.paypal.com<\/code> in the address bar of the pop-up.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"1024\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout-login-793x1024.png\" alt=\"\" class=\"wp-image-1960447\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout-login-793x1024.png 793w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout-login-232x300.png 232w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout-login-768x992.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout-login-1189x1536.png 1189w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout-login.png 1242w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"1024\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout-793x1024.png\" alt=\"PayPal Sandbox purchase completion\" class=\"wp-image-1960451\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout-793x1024.png 793w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout-232x300.png 232w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout-768x992.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout-1189x1536.png 1189w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/PayPal-Sandbox-Checkout.png 1242w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"668\" height=\"690\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-29.png\" alt=\"\" class=\"wp-image-1960107\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-29.png 668w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2024\/05\/image-29-290x300.png 290w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before going live with ticket sales, it&#8217;s a good idea to run a test purchase to make sure your payment gateway is connected correctly, your checkout and success pages are working, and your attendees will receive their ticket confirmation emails. Tickets Commerce supports test mode for both Stripe and PayPal, which lets you simulate the&#8230;<\/p>\n","protected":false},"author":3,"featured_media":1955565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[88],"tags":[26,244,89],"stellar-product-taxonomy":[155,156],"class_list":["post-1960142","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tickets","tag-ecommerce","tag-stripe","tag-tickets-commerce","stellar-product-taxonomy-event-tickets","stellar-product-taxonomy-event-tickets-plus"],"acf":[],"taxonomy_info":{"category":[{"value":88,"label":"Ticketing"}],"post_tag":[{"value":26,"label":"Ecommerce"},{"value":244,"label":"Stripe"},{"value":89,"label":"Tickets Commerce"}],"stellar-product-taxonomy":[{"value":155,"label":"Event Tickets"},{"value":156,"label":"Event Tickets Plus"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Jaime Marchwinski","author_link":"https:\/\/theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":88,"name":"Ticketing","slug":"tickets","term_group":0,"term_taxonomy_id":88,"taxonomy":"category","description":"","parent":61,"count":72,"filter":"raw","term_order":"0","cat_ID":88,"category_count":72,"category_description":"","cat_name":"Ticketing","category_nicename":"tickets","category_parent":61}],"tag_info":[{"term_id":26,"name":"Ecommerce","slug":"ecommerce","term_group":0,"term_taxonomy_id":26,"taxonomy":"post_tag","description":"","parent":0,"count":11,"filter":"raw","term_order":"0"},{"term_id":244,"name":"Stripe","slug":"stripe","term_group":0,"term_taxonomy_id":244,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"0"},{"term_id":89,"name":"Tickets Commerce","slug":"tickets-commerce","term_group":0,"term_taxonomy_id":89,"taxonomy":"post_tag","description":"","parent":26,"count":8,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1960142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1960142"}],"version-history":[{"count":18,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1960142\/revisions"}],"predecessor-version":[{"id":1968773,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1960142\/revisions\/1968773"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1960142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1960142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1960142"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1960142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}