WordPress.org

Forums

Quick Paypal Payments
[resolved] User multiple paypal emails (6 posts)

  1. heatstroke
    Member
    Posted 1 year ago #

    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

    http://wordpress.org/plugins/quick-paypal-payments/

  2. aerin
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. heatstroke
    Member
    Posted 1 year ago #

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

  4. aerin
    Member
    Plugin Author

    Posted 1 year ago #

    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 http://quick-plugins.com.

  5. heatstroke
    Member
    Posted 1 year ago #

    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

  6. aerin
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.