• Resolved felix997

    (@felix997)


    Hey all,

    I`ve tried to add PayPal on my forms. On the preview it works fine, also on the wordpress site builder. Once I go on my website, there is no PayPal option shown. Only “send message”.

    I`ve created on a new business account the keys. Do I have to use the same e-mail adress on the general settings in Forminator as on paypal?

    Best regards
    Felix

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter felix997

    (@felix997)

    Here`s the export of the form:

    {“type”:”form”,”data”:{“fields”:[{“id”:”text-1″,”element_id”:”text-1″,”form_id”:”wrapper-2179-4731″,”type”:”text”,”options”:[],”cols”:12,”conditions”:[],”wrapper_id”:”wrapper-2179-4731″,”input_type”:”line”,”limit_type”:”characters”,”field_label”:”Text”,”placeholder”:”E.g. text placeholder”},{“id”:”paypal-1″,”element_id”:”paypal-1″,”form_id”:”wrapper-6474-9750″,”type”:”paypal”,”options”:[],”cols”:12,”conditions”:[],”wrapper_id”:”wrapper-6474-9750″,”mode”:”sandbox”,”currency”:”EUR”,”amount_type”:”fixed”,”label”:”checkout”,”color”:”gold”,”shape”:”rect”,”layout”:”vertical”,”tagline”:”true”,”locale”:”de_DE”,”debug_mode”:”disable”,”height”:”40″,”amount”:”20″}],”settings”:{“pagination-header”:”nav”,”paginationData”:{“pagination-header-design”:”show”,”pagination-header”:”nav”},”formName”:”Test”,”version”:”1.15.0.1″,”form-border-style”:”none”,”form-padding”:””,”form-border”:””,”fields-style”:”open”,”validation”:”on_submit”,”akismet-protection”:true,”form-style”:”default”,”enable-ajax”:”true”,”autoclose”:”true”,”submission-indicator”:”show”,”indicator-label”:”Submitting…”,”form-type”:”default”,”submission-behaviour”:”behaviour-hide”,”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”:true,”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”:false,”submission-file”:”delete”,”form_name”:”test”,”form_status”:”publish”},”client_id”:null,”notifications”:[{“slug”:”notification-1234-4567″,”label”:”Admin Email”,”email-recipients”:”default”,”recipients”:”[email protected]”,”email-subject”:”New Form Entry #{submission_id} for {form_name}”,”email-editor”:”You have a new website form submission: <br/> {all_fields} <br/>—<br/> This message was sent from {site_url}.”,”email-attachment”:”true”}]},”status”:”publish”,”version”:”1.15.0.1″}

    Thread Starter felix997

    (@felix997)

    Just found it… A second paypal plugin is the problem. Once it is deactivated, it`s working fine.

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @felix997,

    Can you tell us which plugin was the cause of the issue so we can do some tests on our end and see if our devs can do something about getting these two to work together fine?

    Cheers,
    Predrag

    Thread Starter felix997

    (@felix997)

    Dear Predrag,

    the Plugin I had used is called “Quick Paypal Payments“. But I didn’t used the API, only my regular (old) PayPal address.

    Best regards
    Felix

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @felix997,

    Thank you, I was able to replicate the issue on a test site.

    I have pinged our developers to check this issue further.

    Kind Regards,
    Nebu John

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @felix997

    I just got an update form our developers.

    They’ve investigated it and it seems that the issue here is that the “Quick PayPal Payments” plugin is enqueuing (loading) one of it’s scripts in all front-end pages, whether it’s needed or not, which is causing conflicts.

    I’d suggest that you report that to that plugin developers as they should improve the way the it loads its scripts.

    As a workaround for now, this code should help

    
    <?php 
    add_filter(
    	'script_loader_tag',
    	function( $tag, $handle, $src ){
    		if ( 'paypal_checkout_js' === $handle && wp_script_is( 'forminator-front-scripts' ) ) {
    			$tag = '';
    		}
    
    		return $tag;
    	},
    	10,
    	3
    );

    To add it to the site:

    – create an empty file with a .php extension (e.g. “forminator-quick-paypal-fix.php”)
    – copy and paste this code into it
    – save the file
    – upload it to the “/wp-content/mu-plugins” folder of your site’s WordPress installation

    Enable the other PayPal plugin and see if it’s all fine now. It should work out of the box.

    Best regards,
    Adam

    Thread Starter felix997

    (@felix997)

    Thanks Adam for your quick reply!

    I have a better, easier and quicker solution: I’ve deleted the other plugin and will use only Forminator ??
    There I have more options and it looks much better ??

    Best regards
    Felix

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PayPal is not shown’ is closed to new replies.