Advertisement
adczk

Forminato 1.19 - simple Stripe donations form example

Oct 28th, 2022
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.66 KB | None | 0 0
  1. {"type":"form","data":{"fields":[{"id":"radio-1","element_id":"radio-1","form_id":"wrapper-3359-5682","parent_group":"","type":"radio","options":[{"label":"$10 one time","value":"one","key":"1732-7108","error":""},{"label":"$100 one time","value":"two","key":"5921-9571","error":""},{"label":"$50 - monthly","value":"$50---monthly","limit":"","default":"","key":"2030-6215","error":""},{"label":"other amount - one time","value":"other-amount---one-time","limit":"","default":"","key":"9937-4627","error":""},{"label":"other amount - monthly","value":"other-amount---monthly","limit":"","default":"","key":"8598-1383","error":""}],"cols":"12","conditions":[],"wrapper_id":"wrapper-3359-5682","value_type":"radio","field_label":"I'm donating","layout":"vertical","options_bulk_editor":"$10 one time;one; 0\n$100 one time ;two; 0\n$50 - monthly;$50---monthly; 0\nother amount - one time;other-amount---one-time; 0\nother amount - monthly;other-amount---monthly; 0"},{"id":"currency-1","element_id":"currency-1","form_id":"wrapper-6262-2823","parent_group":"","type":"currency","options":[],"cols":"12","conditions":[{"element_id":"radio-1","rule":"is","value":"other-amount---one-time"},{"element_id":"radio-1","rule":"is","value":"other-amount---monthly"}],"wrapper_id":"wrapper-6262-2823","calculations":"true","limit_min":"1","limit_max":"9999","currency":"USD","field_label":"Donation amount","placeholder":"E.g. 10","condition_rule":"any"},{"id":"stripe-1","element_id":"stripe-1","form_id":"wrapper-5632-4339","parent_group":"","type":"stripe","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-5632-4339","field_label":"Credit / Debit Card","mode":"test","currency":"USD","amount_type":"fixed","logo":"","company_name":"","product_description":"","customer_email":"","receipt":"false","billing":"false","verify_zip":"false","card_icon":"true","language":"auto","base_class":"StripeElement","complete_class":"StripeElement--complete","empty_class":"StripeElement--empty","focused_class":"StripeElement--focus","invalid_class":"StripeElement--invalid","autofilled_class":"StripeElement--webkit-autofill","subscription_amount_type":"fixed","quantity_type":"fixed","payments":[{"plan_name":"$10 one time","payment_method":"single","amount_type":"fixed","amount":"10","subscription_amount_type":"fixed","quantity_type":"fixed","quantity":"1","bill_input":"1","conditions":[{"element_id":"radio-1","rule":"is","value":"one"}]},{"plan_name":"$100 one time","payment_method":"single","amount_type":"fixed","subscription_amount_type":"fixed","quantity_type":"fixed","quantity":"1","bill_input":"1","amount":"100","conditions":[{"element_id":"radio-1","rule":"is","value":"two"}]},{"plan_name":"$50 monthly","payment_method":"subscription","amount_type":"fixed","subscription_amount_type":"fixed","quantity_type":"fixed","quantity":"1","bill_input":"1","subscription_amount":"49","bill_period":"month","conditions":[{"element_id":"radio-1","rule":"is","value":"$50---monthly"}],"test_plan_id":"prod_MhHwJyeAF5bf8y"},{"plan_name":"custom - one time","payment_method":"single","amount_type":"variable","subscription_amount_type":"fixed","quantity_type":"fixed","quantity":"1","bill_input":"1","variable":"currency-1","conditions":[{"element_id":"radio-1","rule":"is","value":"other-amount---one-time"}]},{"plan_name":"custom - monthly","payment_method":"subscription","amount_type":"fixed","subscription_amount_type":"variable","quantity_type":"fixed","quantity":"1","bill_input":"1","subscription_variable":"currency-1","bill_period":"month","conditions":[{"element_id":"radio-1","rule":"is","value":"other-amount---monthly"}],"test_plan_id":"prod_MhHwvgPAATaTSj"}]}],"settings":{"pagination-header":"nav","paginationData":{"pagination-header-design":"show","pagination-header":"nav"},"formName":"Example donations","version":"1.19.0","form-border-style":"none","form-padding":"","form-border":"","fields-style":"open","validation":"on_submit","akismet-protection":"1","form-style":"default","enable-ajax":"true","autoclose":"true","submission-indicator":"show","indicator-label":"Submitting...","form-type":"default","submission-behaviour":"behaviour-thankyou","thankyou-message":"Thank you for contacting us, we will be in touch shortly.","submitData":{"custom-submit-text":"Send Message","custom-invalid-form-message":"Error: Your form is not valid, please fix the errors!"},"validation-inline":"1","form-expire":"no_expire","form-padding-top":"0","form-padding-right":"0","form-padding-bottom":"0","form-padding-left":"0","form-border-width":"0","form-border-radius":"0","cform-label-font-family":"Roboto","cform-label-custom-family":"","cform-label-font-size":"12","cform-label-font-weight":"bold","cform-title-font-family":"Roboto","cform-title-custom-family":"","cform-title-font-size":"45","cform-title-font-weight":"normal","cform-title-text-align":"left","cform-subtitle-font-family":"Roboto","cform-subtitle-custom-font":"","cform-subtitle-font-size":"18","cform-subtitle-font-weight":"normal","cform-subtitle-text-align":"left","cform-input-font-family":"Roboto","cform-input-custom-font":"","cform-input-font-size":"16","cform-input-font-weight":"normal","cform-radio-font-family":"Roboto","cform-radio-custom-font":"","cform-radio-font-size":"14","cform-radio-font-weight":"normal","cform-select-font-family":"Roboto","cform-select-custom-family":"","cform-select-font-size":"16","cform-select-font-weight":"normal","cform-multiselect-font-family":"Roboto","cform-multiselect-custom-font":"","cform-multiselect-font-size":"16","cform-multiselect-font-weight":"normal","cform-dropdown-font-family":"Roboto","cform-dropdown-custom-font":"","cform-dropdown-font-size":"16","cform-dropdown-font-weight":"normal","cform-calendar-font-family":"Roboto","cform-calendar-custom-font":"","cform-calendar-font-size":"13","cform-calendar-font-weight":"normal","cform-button-font-family":"Roboto","cform-button-custom-font":"","cform-button-font-size":"14","cform-button-font-weight":"500","cform-timeline-font-family":"Roboto","cform-timeline-custom-font":"","cform-timeline-font-size":"12","cform-timeline-font-weight":"normal","cform-pagination-font-family":"","cform-pagination-custom-font":"","cform-pagination-font-size":"16","cform-pagination-font-weight":"normal","payment_require_ssl":"","submission-file":"delete","store_submissions":"1","form_name":"Example donations","form_status":"draft"},"client_id":null,"integration_conditions":[],"behaviors":[{"slug":"behavior-1234-4567","label":"","autoclose-time":"5","autoclose":"true","newtab":"sametab","thankyou-message":"Thank you for contacting us, we will be in touch shortly.","email-thankyou-message":"","manual-thankyou-message":"","submission-behaviour":"behaviour-thankyou","redirect-url":""}],"notifications":[]},"status":"draft","version":"1.19.0"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement