{"id":18403,"date":"2026-10-28T00:30:37","date_gmt":"2026-10-28T00:30:37","guid":{"rendered":"https:\/\/sneakrey.com\/?p=18403"},"modified":"2026-10-28T00:31:07","modified_gmt":"2026-10-28T00:31:07","slug":"payment-with-stripe","status":"publish","type":"post","link":"https:\/\/sneakrey.com\/?p=18403","title":{"rendered":"payment with stripe"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><div class=\"dfs-card\">\n    <div class=\"dfs-header\">\n        <span class=\"dfs-badge\">Secure Donation<\/span>\n        <h2>Support our mission<\/h2>\n        <p>Make a secure donation using card, Apple Pay, or Google Pay.<\/p>\n    <\/div>\n\n    <div class=\"dfs-progress-wrap\">\n        <div class=\"dfs-progress-meta\">\n            <span>0.00 USD raised<\/span>\n            <span>Goal: 1,000 USD<\/span>\n        <\/div>\n        <div class=\"dfs-progress\">\n            <div style=\"width: 0%\"><\/div>\n        <\/div>\n    <\/div>\n\n    <form class=\"dfs-form\">\n        <input type=\"hidden\" name=\"action\" value=\"dfs_create_checkout\">\n        <input type=\"hidden\" name=\"nonce\" value=\"1a553da65a\">\n\n        <label>Donation amount<\/label>\n        <div class=\"dfs-amounts\" aria-label=\"Donation amount options\">\n            <button class=\"dfs-amount-btn\" type=\"button\" data-amount=\"500\"><span>5 USD<\/span><\/button>\n            <button class=\"dfs-amount-btn\" type=\"button\" data-amount=\"1000\"><span>10 USD<\/span><\/button>\n            <button class=\"dfs-amount-btn\" type=\"button\" data-amount=\"2500\"><span>25 USD<\/span><\/button>\n            <button class=\"dfs-amount-btn\" type=\"button\" data-amount=\"5000\"><span>50 USD<\/span><\/button>\n        <\/div>\n\n        <div class=\"dfs-row\">\n            <input type=\"number\" name=\"custom_amount\" min=\"1\" step=\"1\" placeholder=\"Custom amount\">\n            <span>USD<\/span>\n        <\/div>\n\n        <label>Frequency<\/label>\n        <div class=\"dfs-frequency\">\n            <label><input type=\"radio\" name=\"frequency\" value=\"once\" checked> One-time<\/label>\n            <label><input type=\"radio\" name=\"frequency\" value=\"monthly\"> Monthly<\/label>\n        <\/div>\n\n        <input type=\"text\" name=\"donor_name\" placeholder=\"Your name\">\n        <input type=\"email\" name=\"donor_email\" placeholder=\"Your email\">\n        <textarea name=\"message\" placeholder=\"Optional message\"><\/textarea>\n\n        <label class=\"dfs-check\"><input type=\"checkbox\" name=\"anonymous\" value=\"1\"> Donate anonymously<\/label>\n\n        <button class=\"dfs-submit\" type=\"submit\">Donate Now<\/button>\n        <p class=\"dfs-note\">Payments are processed securely by Stripe.<\/p>\n        <div class=\"dfs-response\"><\/div>\n    <\/form>\n<\/div>\n<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-18403","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/sneakrey.com\/index.php?rest_route=\/wp\/v2\/posts\/18403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sneakrey.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sneakrey.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sneakrey.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sneakrey.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18403"}],"version-history":[{"count":2,"href":"https:\/\/sneakrey.com\/index.php?rest_route=\/wp\/v2\/posts\/18403\/revisions"}],"predecessor-version":[{"id":18406,"href":"https:\/\/sneakrey.com\/index.php?rest_route=\/wp\/v2\/posts\/18403\/revisions\/18406"}],"wp:attachment":[{"href":"https:\/\/sneakrey.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sneakrey.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sneakrey.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}