Skip to content

Commit

Permalink
fixing image
Browse files Browse the repository at this point in the history
  • Loading branch information
samilabud committed Apr 13, 2021
1 parent e23512d commit c42ded6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/stripe-button/stripe-button-component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ 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');
}
return (
<StripeCheckout
label='Paga ahora'
name='SamECommerce'
name='SamCrownCommerce'
billingAddress
shippingAddress
image='https://sendeyo.com/en/f3eb2117da'
image='https://www.flaticon.es/svg/vstatic/svg/91/91202.svg?token=exp=1618283036~hmac=e99a82c8578aee272351bec471b3b27d'
description={`Your total is $${price}`}
amount={priceForStripe}
panelLabel='Pague ahora'
Expand Down

0 comments on commit c42ded6

Please sign in to comment.