{"id":8348,"date":"2023-08-16T09:13:16","date_gmt":"2023-08-16T16:13:16","guid":{"rendered":"https:\/\/membermouse.com\/?post_type=ht_kb&amp;p=8348"},"modified":"2023-08-16T09:13:16","modified_gmt":"2023-08-16T16:13:16","slug":"pruebas-con-raya","status":"publish","type":"ht_kb","link":"https:\/\/membermouse.com\/es\/docs\/testing-with-stripe\/","title":{"rendered":"Pruebas con Stripe"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You can configure Stripe to be in test mode or live mode. While Live mode is used to collect real credit card information and process real payments, test mode is useful during initial development of your site as it enables you to test everything by using a test credit card and without spending real money.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are three main steps you need to take to in order to configure Stripe for testing within MemberMouse. The first is to indicate that you want to be in test mode, the second is to select&nbsp;whether you want to use Stripe Elements or&nbsp;Stripe.js,&nbsp;and the third is to obtain the test API keys from Stripe and paste them into MemberMouse.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">Obtaining the Stripe API Key<\/h5>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log into\u00a0<a href=\"https:\/\/manage.stripe.com\/dashboard\">Stripe.com<\/a>.<br><br><\/li>\n\n\n\n<li>In the main Dashboard screen, you'll see a menu on the lefthand side. Select\u00a0<em>Developers > API Keys<\/em> from that menu<em>.<\/em>\u00a0The API page will load.<br><br><\/li>\n\n\n\n<li>While on the API Keys page, click on the\u00a0<em>View Test Data\u00a0<\/em>slider button in the upper righthand corner. This will bring up your API Test Keys.<br><br><\/li>\n\n\n\n<li>Copy the Test<em>\u00a0Publishable Key<\/em>\u00a0and Test<em>\u00a0Secret Key<\/em>\u00a0from the Token column. <br><br><img decoding=\"async\" class=\"wp-image-10457\" style=\"width: 700px;\" src=\"https:\/\/storage.googleapis.com\/wpgcbucket\/wp\/2023\/09\/758c37c2-tkm9b3rgy0i1qnkne3unred7cf6pkp42ca.png\" alt=\"\"><br><\/li>\n<\/ol>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">Configuring Stripe in Test Mode<\/h5>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From your WordPress Dashboard go to\u00a0<em>MemberMouse > Payment Settings<\/em>\u00a0and click on the\u00a0<em>Payment Methods<\/em>\u00a0tab.<br><br><\/li>\n\n\n\n<li>Under\u00a0<em>Onsite Payment Method<\/em>, select\u00a0<em>Stripe<\/em>. This will display the Stripe configuration options.<br><br><\/li>\n\n\n\n<li>Click the check box next to\u00a0<em>Enable Test Mode<\/em>\u00a0to indicate that you want to process credit cards and payments in test mode.<br><br><\/li>\n\n\n\n<li>Indicate whether or not you want to keep\u00a0<strong>Stripe Elements\u00a0<\/strong>enabled<strong>\u00a0<\/strong>or enable\u00a0<strong>Stripe.js<\/strong>. <br><br>With Stripe Elements, a 3D Secure checkout flow occurs.\u00a0Stripe Elements uses Stripe.js for tokenization, but also embeds Stripe's credit card fields directly on the checkout page via iFrame.\u00a0This is mandatory for customers in the European Economic Area (EEA) to be compliant with the Strong Customer Authentication (SCA) requirement of the PSD2. Stripe Elements is the\u00a0<strong>recommended<\/strong>\u00a0method to use. <br><br>Stripe.js is an older form of security protection for the checkout.\u00a0With Stripe.js credit card data is exchanged (using JavaScript) for a payment token prior to the checkout form being submitted, so credit card information never touches your server. As a result merchants may qualify for a less rigorous PCI-DSS SAQ by using Stripe.js\/Elements (SAQ A-EP vs SAQ D). <br><br><strong>Stripe Elements is the recommended method to use.<\/strong><br><br><\/li>\n\n\n\n<li>Paste the Stripe Test Secret Key in the field labelled\u00a0<em>Test Secret Key<\/em>.<br><br><\/li>\n\n\n\n<li>[Only if using Stripe Elements] Paste the Stripe Test Publishable Key in the field labelled\u00a0<em>Test Publishable Key<\/em>.<br><br><\/li>\n\n\n\n<li>Click the&nbsp;<em>Save Payment Methods<\/em>&nbsp;button.<\/li>\n<\/ol>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Your site is now ready to start accepting test credit card payments and processing them through your Stripe account.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">Making Test Purchases<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">You can make test purchases the same as you would make live purchases. The only difference is that you'll need to use specific test card numbers defined by Stripe. You can find those test card numbers in the Stripe configuration area on the&nbsp;<em>Payment Methods<\/em>&nbsp;tab by clicking the&nbsp;<em>Test Credit Card Numbers<\/em>&nbsp;link.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can use the following test credit card numbers when testing payments where the test cards do not require authentication from the customer's card issuer. The expiration date must be set to the present date or later:<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visa: 4242424242424242<br><\/li>\n\n\n\n<li>Visa: 4012888888881881<br><\/li>\n\n\n\n<li>Mastercard: 5555555555554444<br><\/li>\n\n\n\n<li>Mastercard: 5105105105105100<br><\/li>\n\n\n\n<li>American Express: 378282246310005<br><\/li>\n\n\n\n<li>American Express: 371449635398431<br><\/li>\n\n\n\n<li>Discover: 6011111111111117<br><\/li>\n\n\n\n<li>Discover: 6011000990139424<br><\/li>\n\n\n\n<li>Diners Club: 30569309025904<br><\/li>\n\n\n\n<li>Diners Club: 38520000023237<br><\/li>\n\n\n\n<li>JCB: 3530111333300000<br><\/li>\n\n\n\n<li>JCB: 3566002020360505<\/li>\n<\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>Cards for Testing Secure Checkout Flows<\/strong><\/h6>\n\n\n\n<p class=\"wp-block-paragraph\">The below card numbers can be used to test circumstances where authentication from the customer's card issuer is required. We have included the ones most frequently used. However, a complete list of test card numbers can be found at&nbsp;<a href=\"https:\/\/stripe.com\/docs\/testing#cards\">https:\/\/stripe.com\/docs\/testing#cards<\/a><\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>Strong Customer Authentication Testing&nbsp;<\/strong><\/h6>\n\n\n\n<p class=\"wp-block-paragraph\">Use the following card information to test payments affected by regional regulations such as&nbsp;<a href=\"https:\/\/stripe.com\/docs\/strong-customer-authentication\">Strong Customer Authentication<\/a>&nbsp;(SCA).<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>4000002500003155 &#8211; This card requires authentication for one-time payments. However, if you set up this card and use the saved card for subsequent off-session payments, no further authentication is needed. In live mode, Stripe dynamically determines when a particular transaction requires authentication due to regional regulations such as Strong Customer Authentication.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>3D Secure Testing<\/strong><\/h6>\n\n\n\n<p class=\"wp-block-paragraph\">Not all cards&nbsp;<a href=\"https:\/\/stripe.com\/docs\/payments\/3d-secure\">support 3D Secure<\/a>&nbsp;or require the customer be redirected to their card issuer's authentication page. Use the following card information to test 3D Secure payments<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>4000000000003220 &#8211; 3D Secure 2 authentication must be completed for the payment to be successful.<br><br><\/li>\n\n\n\n<li>4000000000003063 &#8211; 3D Secure authentication must be completed for the payment to be successful.<br><br><\/li>\n\n\n\n<li>4000000000003055 &#8211; 3D Secure authentication may still be performed, but is not required. By default, 3D Secure authentication will not be requested for this card.<br><br><\/li>\n\n\n\n<li>4000008400001629 &#8211; 3D Secure authentication is required, but payments will be declined with a card_declined failure code after authentication.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h6 class=\"wp-block-heading\">Using Test Data<\/h6>\n\n\n\n<p class=\"wp-block-paragraph\">MemberMouse also allows you to specify test data for all common fields that need to be filled out when making a purchase. When you specify test data, MemberMouse will automatically populate the fields of checkout forms with the data you've provided which significantly speeds up your testing process. Read this article to\u00a0<a href=\"https:\/\/membermouse.com\/docs\/using-test-data\/\">learn how to set up and use test data<\/a>. <\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Puede configurar Stripe para que est\u00e9 en modo de prueba o en modo real. Mientras que el modo Live se utiliza para recopilar informaci\u00f3n real de tarjetas de cr\u00e9dito y procesar pagos reales, el modo de prueba es...<\/p>","protected":false},"author":21411,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"ht-kb-category":[205],"ht-kb-tag":[],"class_list":["post-8348","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-stripe"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/membermouse.com\/es\/wp-json\/wp\/v2\/ht-kb\/8348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/membermouse.com\/es\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/membermouse.com\/es\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/membermouse.com\/es\/wp-json\/wp\/v2\/users\/21411"}],"replies":[{"embeddable":true,"href":"https:\/\/membermouse.com\/es\/wp-json\/wp\/v2\/comments?post=8348"}],"version-history":[{"count":0,"href":"https:\/\/membermouse.com\/es\/wp-json\/wp\/v2\/ht-kb\/8348\/revisions"}],"wp:attachment":[{"href":"https:\/\/membermouse.com\/es\/wp-json\/wp\/v2\/media?parent=8348"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/membermouse.com\/es\/wp-json\/wp\/v2\/ht-kb-category?post=8348"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/membermouse.com\/es\/wp-json\/wp\/v2\/ht-kb-tag?post=8348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}