• Resolved heatstroke

    (@heatstroke)


    Hi!

    I am using this great plugin with advanced custom fields, so when a user creates a form, he can input the amount and subject of the payment.
    I do it like this:

    $price = get_field('price');
    $subject= get_field('subject');
    echo do_shortcode("[qpp id=$subject amount=$price ]");

    But, I would like to be able to input as well the email, so that any user could use their own email to be able to receive payments in their accounts.

    Any ideas?

    Thanks

    https://www.ads-software.com/plugins/quick-paypal-payments/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The easiest way to do this is to add another shortcode attribute so you have:

    $email = get_field('email');
    $price = get_field('price');
    $subject= get_field('subject');
    echo do_shortcode("[qpp email=$email id=$subject amount=$price ]");

    Can you send me an email via quick-pluigns.com and I can send you a version for testing.

    Thread Starter heatstroke

    (@heatstroke)

    Thank you for the reply, but this doesn’t work.

    I haven’t published the new shortcode attribute yet which is why it doesn’t work. If you send me an emil I will sent you an update for testing. My email address is on the plugin setup page or you can use the form on https://quick-plugins.com.

    Thread Starter heatstroke

    (@heatstroke)

    Ok, I appreciate this. But I could do it with another plugin. I will keep an eye on your plugin because I like it, but unfortunately I have no time to test. Just needed something that works ??

    Thank you

    Fair enough, but it would have taken me an hour to do the coding so you could have had it alomst immediately. If you are still interested send me an email.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘User multiple paypal emails’ is closed to new replies.