No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Form Submit with PayPal Payment Button

    Help
    3
    3
    371
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cynderkromi last edited by

      I am writing a small one-page application that will allow someone to submit a club membership application, and also submit a PayPal payment at the same time.

      I have been looking at the PayPal payment options, but I also need the Quasar Form field data to be sent in an email each time someone joins and pays.

      Does anyone have a tutorial or information on how to combine a button with the ability to send an email and send payment to PayPal? Thanks!

      dobbel beets 2 Replies Last reply Reply Quote 0
      • dobbel
        dobbel @cynderkromi last edited by

        @cynderkromi

        start here:
        https://developer.paypal.com/docs/business/checkout/configure-payments/single-page-app/#vue
        https://github.com/paypal/paypal-checkout-components

        btw sending emails cannot be done by Quasar.

        1 Reply Last reply Reply Quote 0
        • beets
          beets @cynderkromi last edited by

          @cynderkromi Dobbel pointed you in the right direction here. You’ll need to first perform the payment in the browser via paypal. Once paypal responds that it accepted a payment, it will return a payment / transaction id, which you then submit to your own server that in turn sends you an email. I assume you will manually check that you indeed have a payment in paypal at this point before issuing membership, else you’d have to also verify the payment on your server. Just keep in mind if you don’t verify, some script kiddie could submit membership applications without paying, but I wouldn’t worry about that unless you have the dev resources to do server side checking, because it’s probably not a problem unless you’re a high target.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post