Venmo Opion
-
I am using Forminator version 1.29.0. Is there an option to enable the Venmo payment button? There are three query parameters beginning with experiment which appear to be Venmo related. Can these be set for a particular form? Has Venmo integration been added to more recent versions?
Best regards,
Joe
-
Hello @jmagrino
Hope you are doing well today.
Yes, it can integrate with Venmo payment you can enable it from the PayPal field under advanced settings.
I’m not sure about the parameters but you can test it after enabling it, and if you have issues please some more information about them. You can find more information about the PayPal settings in our document:
https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#paypal-fieldBest Regards
AminAmin,
Thank you for your quick response. My understanding of the Advanced options tab, section Disable Funding Sources, BLOCKS the checked payment options. I am trying to add the Venmo button that PayPal now supports.
Would any of these query parms enable Venmo:
experiment.enableVenmo=false
experiment.venmoVaultWithoutPurchase=false
experiment.venmoWebEnabled=falseIf these enable Venmo, can you please tell how to set these options. If this requires changing the PHP code, can you please let me know which file.
Thanks in advance for your assistance,
JoeHi @jmagrino
I pinged our Forminator Team to review this case. We will post an update here as soon as more information is available.
Kind Regards,
KrisHi @jmagrino,
Please try this snippet which should help with displaying Venmo:
<?php add_filter( 'forminator_enqueue_form_scripts', 'wpmudev_add_venmo_funding', 10, 3 );
function wpmudev_add_venmo_funding( $scripts, $is_preview, $is_ajax_load ) {
if ( $is_ajax_load ) {
foreach ( $scripts as $handle => $script ) {
if ( $handle == 'forminator-paypal-2910' ) {
$scripts[$handle]['src'] = $script['src'].'&enable-funding=venmo';
}
}
}
return $scripts;
}You can implement the above code using mu-plugins. Please check this link on how to implement the above code as a mu-plugins:
https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-pluginsKind Regards,
Nithin
Thank you for your response. I have created a file named, forminator.php and copied the contents from above. This was upload to the wp-content/mu-plugins directory. Permissions are 755. The file appears in the Plugins Manager. However, the Venmo button does not appear on the form. The form is set to employ Ajax.
Did I miss a step?
thanks,
JoeHello @jmagrino
Can you please share the page URL where this form is added? On our end, the code snippet works fine so you may made mistakes in adding the code.
If you don’t want to share it here you can send it via email as described below:
Please upload that file to any file sharing service like GDrive or Dropbox and send us the download link to this email address: [email protected]
Subject: ATTN: WPMU DEV support – wp.org
reference (https://ww.wp.xz.cn/support/topic/topic-title/)
– Any other relevant URLs/infoTo ensure we don’t miss your email, please let us know here once you’ve submitted the form and make sure you use “ATTN: WPMU DEV support – wp.org” as the email subject.
Best Regards
AminI have emailed the page details to the above address.
Hello @jmagrino
I checked the code with our development team and I can confirm the code should be working fine but it seems we forgot to mention that you need to change the forminator-paypal-2910 number to your form ID, on the code.
You can find the form ID in your form shortcode, each form has a unique ID.
Once its has been updated the code should start working fine.
Kind Regards
AminAmin,
Thank you for your quick response. Yes, correcting the form id fixed the issue. The Venmo button displays and is functioning.
Best regards,
JoeHello @jmagrino,
I hope things are going well for you.
The issue has been resolved on Forminator 1.38.0. Can you please update the plugin to the latest version and check further?
Additionally do not forget to remove the given script from mu-plugin from this response:-
https://ww.wp.xz.cn/support/topic/venmo-opion/#post-18109068.Changelog Located here:- https://ww.wp.xz.cn/plugins/forminator/#developers
Enhancement: Improve Paypal Venmo integration`Please feel free to let us know in case you have any questions.
–
Thanks & Kind Regards,
Imran Khan
The topic ‘Venmo Opion’ is closed to new replies.