67 |
Your test payment succeeded
68 |
View PaymentIntent response:
69 |
70 | {JSON.stringify(metadata, null, 2)}
71 |
72 |
73 | );
74 | };
75 |
76 | const renderForm = () => {
77 | const options = {
78 | style: {
79 | base: {
80 | color: "#32325d",
81 | fontFamily: '"Helvetica Neue", Helvetica, sans-serif',
82 | fontSmoothing: "antialiased",
83 | fontSize: "16px",
84 | "::placeholder": {
85 | color: "#aab7c4",
86 | },
87 | },
88 | invalid: {
89 | color: "#fa755a",
90 | iconColor: "#fa755a",
91 | },
92 | },
93 | };
94 |
95 | return (
96 |