PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

PayPal Direct Payment

  1. iamcanadian1973
    Member

    I've successfully got Gravity Forms working with PaPal Payment Pro/ Recurring payments. I'm using the PayPal Framework plugin.

    I'm using the gform_after_submission hook to send the request

    then I need to get the ipn data and process the success or failure. this is the part I'm having trouble with. I found this answer here: http://www.gravityhelp.com/forums/topic/validation-confirmation-messages

    And was wondering if that would be the best/only way to go. I would really like to be able to process and display the result data. I was also thinking I could have a hidden field in the entry table and just store a serialized array there and then redirect on success and use the entry id?

    There is the response from the direct call, and then the response after with the ipn, so I would really like to be able to store both and access the ipn success fail.

    I do have the PayPal addon, and have used it , but wasn't able to do it this time because I needed to be able to set the recurring start date.

    If you could help that be awesome, I think this would also be great for others in the future looking for this functionality.

    Posted 12 years ago on Thursday February 16, 2012 | Permalink
  2. The Gravity Forms PayPal Add-On implements IPN handling. What I would suggest doing is use it as a reference and take a look at it's IPN handler code. You could then use that as a guide to create your own IPN handler code to work with PayPal Pro.

    One thing to note... we have a PayPal Pro Add-On in active development. It is still a couple weeks away from a beta release but it is in active development.

    Posted 12 years ago on Thursday February 23, 2012 | Permalink
  3. iamcanadian1973
    Member

    I actually used the PayPal addon and the authorize addon to build my own version. I didn't have enough time to do it as elegantly as you would but it does work! :P

    As mentioned in an additional forum question, making the credit card field splittable into first/lastname would be super helpful and I would guess necessary for PayPal Pro.

    Posted 12 years ago on Thursday February 23, 2012 | Permalink
  4. Carl, don't suppose the PPPro add-on will have some form of support for promotion codes to discount final form totals? That would make things perfect..

    Posted 12 years ago on Friday February 24, 2012 | Permalink