BellevueCollege / cybersource-payment-with-gravityforms

❌DEPRECATED
2 stars 1 forks source link

Do you have this working with Cybersource and Gravity Forms? #1

Open joshuaiz opened 7 years ago

joshuaiz commented 7 years ago

Sorry for the general questions but I stumbled upon this as the non-profit I work for uses Cybersource gateway for their donation pages. That said, their forms were done through Blue State Digital so I am totally unfamiliar with the Cybersource API.

Here are my questions: Do you have this working? Obviously we don't need the application fees section for our form but what exactly is going on in the $confirmation section? Is that required by Cybersource? Is it getting a confirmation from Cybersource or is that just locally validating the form? Or something else? You have the form set to "redirect" but can this be used with the other default Gravity Forms submission options (Text, Page)?

Any other insight you can give me to get this working with our form would be super helpful.

Thanks!!

TriptiSharma commented 7 years ago

Hi Joshua,

Yes, this is working code, but just tested by me. If its throwing any errors let me know. The confirmation section is being updated to redirect to cyber source payment form instead of using GF’s confirmation page. This function add_action( 'gform_confirmation', 'post_to_cybersource', 10, 4 );

updates the confirmation. Hence the default options will not work after you activate the plugin. Application fees is the amount that cybersource will charge the user and therefore needs to be recorded by gravity forms and is sent to the cybersource as well. It’s not getting any response from cybersource. We have a web service call to get information from cybersource. I can share that with you if you want.

At Bellevue College we ended up going with Authorize.net instead of cybersource so I kind of didn’t update the documentation for this plugin and abandon it(I am not proud). But I can update it or help you modify it as you like for your work if you want.

Just curious, what non-profit organization do you work for?

Thanks, Tripti

From: Joshua Michaels [mailto:notifications@github.com] Sent: Monday, October 10, 2016 7:33 AM To: BellevueCollege/cybersource-payment-with-gravityforms cybersource-payment-with-gravityforms@noreply.github.com Subject: [BellevueCollege/cybersource-payment-with-gravityforms] Do you have this working with Cybersource and Gravity Forms? (#1)

Sorry for the general questions but I stumbled upon this as the non-profit I work for uses Cybersource gateway for their donation pages. That said, their forms were done through Blue State Digital so I am totally unfamiliar with the Cybersource API.

Here are my questions: Do you have this working? Obviously we don't need the application fees section for our form but what exactly is going on in the $confirmation section? Is that required by Cybersource? Is it getting a confirmation from Cybersource or is that just locally validating the form? Or something else? You have the form set to "redirect" but can this be used with the other default Gravity Forms submission options (Text, Page)?

Any other insight you can give me to get this working with our form would be super helpful.

Thanks!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/BellevueCollege/cybersource-payment-with-gravityforms/issues/1, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEhYlHxSfUUclN_X5wL2KXici_Asm5Icks5qykyQgaJpZM4KSoTw.

joshuaiz commented 7 years ago

Hi Tripti,

Thanks for the reply!

I work as the web developer for United Way of Metropolitan Chicago. I don't have access to the Cybersource account although I can view the API docs.

We are using Blue State Digital and Cybersource to handle our donation pages but we are moving them to stay on our own site.

We've set up a form with Stripe which works (it took only about 30 minutes to get working).

Ahh so your plugin redirects to Cybersource and doesn't collect the credit card info on the same page? We need our form to do that without a redirect offsite.

Joshua

On Oct 11, 2016, at 2:44 PM, Tripti Sharma notifications@github.com wrote:

Hi Joshua,

Yes, this is working code, but just tested by me. If its throwing any errors let me know. The confirmation section is being updated to redirect to cyber source payment form instead of using GF’s confirmation page. This function add_action( 'gform_confirmation', 'post_to_cybersource', 10, 4 );

updates the confirmation. Hence the default options will not work after you activate the plugin. Application fees is the amount that cybersource will charge the user and therefore needs to be recorded by gravity forms and is sent to the cybersource as well. It’s not getting any response from cybersource. We have a web service call to get information from cybersource. I can share that with you if you want.

At Bellevue College we ended up going with Authorize.net instead of cybersource so I kind of didn’t update the documentation for this plugin and abandon it(I am not proud). But I can update it or help you modify it as you like for your work if you want.

Just curious, what non-profit organization do you work for?

Thanks, Tripti

From: Joshua Michaels [mailto:notifications@github.com] Sent: Monday, October 10, 2016 7:33 AM To: BellevueCollege/cybersource-payment-with-gravityforms cybersource-payment-with-gravityforms@noreply.github.com Subject: [BellevueCollege/cybersource-payment-with-gravityforms] Do you have this working with Cybersource and Gravity Forms? (#1)

Sorry for the general questions but I stumbled upon this as the non-profit I work for uses Cybersource gateway for their donation pages. That said, their forms were done through Blue State Digital so I am totally unfamiliar with the Cybersource API.

Here are my questions: Do you have this working? Obviously we don't need the application fees section for our form but what exactly is going on in the $confirmation section? Is that required by Cybersource? Is it getting a confirmation from Cybersource or is that just locally validating the form? Or something else? You have the form set to "redirect" but can this be used with the other default Gravity Forms submission options (Text, Page)?

Any other insight you can give me to get this working with our form would be super helpful.

Thanks!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/BellevueCollege/cybersource-payment-with-gravityforms/issues/1, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEhYlHxSfUUclN_X5wL2KXici_Asm5Icks5qykyQgaJpZM4KSoTw. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BellevueCollege/cybersource-payment-with-gravityforms/issues/1#issuecomment-253023565, or mute the thread https://github.com/notifications/unsubscribe-auth/ABC8IgKBrFLju5kHtvkfstl6iB6PE04xks5qy-czgaJpZM4KSoTw.

TriptiSharma commented 7 years ago

Hi Joshua,

Yes the plugin redirects to cybersource and does not collect the information on the same page. We wanted the same thing and that’s why we went with authorize.net instead of cybersource.

-Tripti

From: Joshua Michaels [mailto:notifications@github.com] Sent: Tuesday, October 11, 2016 1:25 PM To: BellevueCollege/cybersource-payment-with-gravityforms cybersource-payment-with-gravityforms@noreply.github.com Cc: Tripti Sharma tripti.sharma@bellevuecollege.edu; Comment comment@noreply.github.com Subject: Re: [BellevueCollege/cybersource-payment-with-gravityforms] Do you have this working with Cybersource and Gravity Forms? (#1)

Hi Tripti,

Thanks for the reply!

I work as the web developer for United Way of Metropolitan Chicago. I don't have access to the Cybersource account although I can view the API docs.

We are using Blue State Digital and Cybersource to handle our donation pages but we are moving them to stay on our own site.

We've set up a form with Stripe which works (it took only about 30 minutes to get working).

Ahh so your plugin redirects to Cybersource and doesn't collect the credit card info on the same page? We need our form to do that without a redirect offsite.

Joshua

On Oct 11, 2016, at 2:44 PM, Tripti Sharma notifications@github.com<mailto:notifications@github.com> wrote:

Hi Joshua,

Yes, this is working code, but just tested by me. If its throwing any errors let me know. The confirmation section is being updated to redirect to cyber source payment form instead of using GF’s confirmation page. This function add_action( 'gform_confirmation', 'post_to_cybersource', 10, 4 );

updates the confirmation. Hence the default options will not work after you activate the plugin. Application fees is the amount that cybersource will charge the user and therefore needs to be recorded by gravity forms and is sent to the cybersource as well. It’s not getting any response from cybersource. We have a web service call to get information from cybersource. I can share that with you if you want.

At Bellevue College we ended up going with Authorize.net instead of cybersource so I kind of didn’t update the documentation for this plugin and abandon it(I am not proud). But I can update it or help you modify it as you like for your work if you want.

Just curious, what non-profit organization do you work for?

Thanks, Tripti

From: Joshua Michaels [mailto:notifications@github.com] Sent: Monday, October 10, 2016 7:33 AM To: BellevueCollege/cybersource-payment-with-gravityforms cybersource-payment-with-gravityforms@noreply.github.com<mailto:cybersource-payment-with-gravityforms@noreply.github.com> Subject: [BellevueCollege/cybersource-payment-with-gravityforms] Do you have this working with Cybersource and Gravity Forms? (#1)

Sorry for the general questions but I stumbled upon this as the non-profit I work for uses Cybersource gateway for their donation pages. That said, their forms were done through Blue State Digital so I am totally unfamiliar with the Cybersource API.

Here are my questions: Do you have this working? Obviously we don't need the application fees section for our form but what exactly is going on in the $confirmation section? Is that required by Cybersource? Is it getting a confirmation from Cybersource or is that just locally validating the form? Or something else? You have the form set to "redirect" but can this be used with the other default Gravity Forms submission options (Text, Page)?

Any other insight you can give me to get this working with our form would be super helpful.

Thanks!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/BellevueCollege/cybersource-payment-with-gravityforms/issues/1, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEhYlHxSfUUclN_X5wL2KXici_Asm5Icks5qykyQgaJpZM4KSoTw. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BellevueCollege/cybersource-payment-with-gravityforms/issues/1#issuecomment-253023565, or mute the thread https://github.com/notifications/unsubscribe-auth/ABC8IgKBrFLju5kHtvkfstl6iB6PE04xks5qy-czgaJpZM4KSoTw.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/BellevueCollege/cybersource-payment-with-gravityforms/issues/1#issuecomment-253034781, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEhYlOlodGHp_H6Q0nHi5NC7tX3pZpjOks5qy_CZgaJpZM4KSoTw.

deeperlook commented 6 years ago

Hi there,

Where can I find my Profile ID and what is the Transaction Type, your documentation doesn't describe it.

Thanks!