Hello @pabloandres86,
Our SLS team came up with a small mu-plugin which can be used to use an alternate Paypal account for a specific form. Here is the mu-plugin
<?php
add_filter( 'option_forminator_paypal_configuration', function( $config ){
if( is_page(123) ){
$config['sandbox_id'] = 'second_sandbox_client_id';
$config['sandbox_secret'] = 'second_sandbox_secret';
$config['live_id'] = 'second_live_client_id';
$config['live_secret'] = 'second_live_secret';
// $config['currency'] = 'USD';
}
return $config;
}, 10 );
Here, you need to add the ID and secret in the above code in the place of second_sandbox_client_id & second_sandbox_secret.
Now to use this on a particular form, please enter the conditional page_id in is_page(123) which contains form id for the form you want to have this PayPal account. You would need to change the number 123 with the form id. To get the form id, just copy the shortcode of that form and you would see a number in that shortcode. That number is the form id you would need to add in the place of the number 123.
Now to understand what a mu-plugin is and how to install it, kindly check the following article for the step by step instructions with screenshots to it:
https://premium.wpmudev.org/docs/getting-started/download-wpmu-dev-plugins-themes/#installing-mu-plugins
Do let me know if that works for you.
Thank you,
Prathamesh Palve