diff --git a/src/components/stripe-button/stripe-button-component.jsx b/src/components/stripe-button/stripe-button-component.jsx index 8c4dff4..2926dcc 100644 --- a/src/components/stripe-button/stripe-button-component.jsx +++ b/src/components/stripe-button/stripe-button-component.jsx @@ -4,7 +4,7 @@ import StripeCheckout from 'react-stripe-checkout'; const StripeCheckoutButton = ({price}) => { const priceForStripe = price * 100; const publishablekey = 'pk_test_51IfAwgF7VDSpoZmOV8VtWIwE4hJOLce3ch0DPT5DkwR8Gm0g8DWhqqxGmI3qkSywYrnGEbdIbhaNNXpbTTpzWgGO00J2aOGAhi'; - const secretkey = 'sk_test_51IfAwgF7VDSpoZmO90Kbmy03DFqIOQxE6r6niC190Z79kp94GJIILU8bGTjlFlOIN9TD4LTxdaoFCeQ3HzkPLXiw00sifdGSKj'; + //const secretkey = 'sk_test_51IfAwgF7VDSpoZmO90Kbmy03DFqIOQxE6r6niC190Z79kp94GJIILU8bGTjlFlOIN9TD4LTxdaoFCeQ3HzkPLXiw00sifdGSKj'; const onToken = token => { console.log(token); alert('Pago satisfactorio'); @@ -12,10 +12,10 @@ const StripeCheckoutButton = ({price}) => { return (