Support » Developing with WordPress » Collecting payment after button click

  • Hi,

    I’m kind of at a halt here.
    I’m searching for a way to collect payments from users after they click a button. Say I have their payment details stored (maybe it was saved during registration), and when they click a button (say some sort of accept button whatever), the payment automatically subtracts a certain amount from the card.

    I need this because when one type of user accepts an event from another type of user, that other user has to pay a certain amount. Instead of the first user waiting for the second user to pay (maybe through a payment form), I want the payment to happen instantly.

    Any ideas? Easy way? Not so easy way?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can do that with the paid membership pro plugin you can easily configure it.
    https://es.wordpress.org/plugins/paid-memberships-pro/

    I’m searching for a way to collect payments from users after they click a button. Say I have their payment details stored (maybe it was saved during registration), and when they click a button (say some sort of accept button whatever), the payment automatically subtracts a certain amount from the card.

    What payment provider/gateway are you using? That makes all the difference — if you will even be allowed to such sensitive data at all.

    And frankly, if you have to ask, I’ll go on a limb to say you probably shouldn’t store such sensitive data on your own website, even if your payment provider allows it.

    I need this because when one type of user accepts an event from another type of user, that other user has to pay a certain amount. Instead of the first user waiting for the second user to pay (maybe through a payment form), I want the payment to happen instantly.

    What are you calling “event” here? If you’re using some sort of event management plugin (or theme), please elaborate on your setup, as, again, the appropriate solution will depend on the details of your specific site setup.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.