{"id":16,"date":"2022-04-13T20:54:53","date_gmt":"2022-04-13T20:54:53","guid":{"rendered":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/?p=16"},"modified":"2022-04-13T20:54:53","modified_gmt":"2022-04-13T20:54:53","slug":"test-stripe-for-my-tickets","status":"publish","type":"post","link":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/2022\/04\/13\/test-stripe-for-my-tickets\/","title":{"rendered":"Test Stripe for My Tickets"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">First, <a href=\"https:\/\/docs.joedolson.com\/my-tickets-stripe\/2022\/04\/13\/configuring-stripe-for-my-tickets\/\">configure Stripe for My Tickets<\/a> and place into test mode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stripe makes a <a href=\"https:\/\/stripe.com\/docs\/testing\">collection of test credit card numbers<\/a> available for you to experiment with various payment scenarios.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>From the front-end, add tickets that have a cost for an event to your cart. (Free tickets will not trigger a payment gateway.)<\/li><li>Navigate to check out.<\/li><li>Be sure to select &#8216;Stripe&#8217; from the gateway options.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"505\" height=\"194\" src=\"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-content\/uploads\/sites\/6\/2022\/04\/image-3.png\" alt=\"\" class=\"wp-image-22\" srcset=\"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-content\/uploads\/sites\/6\/2022\/04\/image-3.png 505w, https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-content\/uploads\/sites\/6\/2022\/04\/image-3-300x115.png 300w\" sizes=\"auto, (max-width: 505px) 100vw, 505px\" \/><figcaption>Select &#8220;Stripe&#8221; for your payment gateway if you&#8217;re using more than one.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">In test mode<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When in test mode, choose a test credit card from the <a href=\"https:\/\/stripe.com\/docs\/testing\">Stripe test cards<\/a> to experiment with different scenarios. This allows you to see what happens when a card is rejected as well as what will happen on a successful purchase.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">In live mode<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In live mode, I suggest either setting a ticket price very low for your own testing or using the &#8216;Member discount&#8217; feature at <code>My Tickets > Payment Settings<\/code> to test at a discount. If you&#8217;re using <a href=\"https:\/\/www.joedolson.com\/awesome\/my-tickets-discounts\/\">My Tickets: Discounts<\/a>, you can also test with coupon codes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, configure Stripe for My Tickets and place into test mode. Stripe makes a collection of test credit card numbers available for you to experiment with various payment scenarios. From the front-end, add tickets that have a cost for an event to your cart. (Free tickets will not trigger a payment gateway.) Navigate to check [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-public"],"_links":{"self":[{"href":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":2,"href":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":18,"href":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-json\/wp\/v2\/posts\/16\/revisions\/18"}],"wp:attachment":[{"href":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-tickets-stripe\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}