CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Payment processor POST off-site
Pages: [1]

Author Topic: Payment processor POST off-site  (Read 1419 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Payment processor POST off-site
March 14, 2011, 07:45:42 pm
At the moment externally hosted payment processors all use GET to send the user's browser off-site. Generally POST is more optimal and in some cases GET is an undocumented option.

In order to POST I think it would be necessary to gather the user's data on the Main form as per current but then to present the user with the Confirm form and on pressing submit on that form they would be transferred - assuming the contribution is created at the point when the confirm form is presented.

Does that seem the best flow?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Payment processor POST off-site
March 15, 2011, 11:09:48 am

redirecting to a GET url is quite easy and hence most of the PP's support the GET redirect

I suspect redirecting to a POST url is also possible (but we have not done it and hence dont know how), but to a large extent the flow should be the same as it currently is

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Payment processor POST off-site
March 15, 2011, 01:17:45 pm
> Does that seem the best flow?

Yes it does. I may have done that a year or two ago for Elavon. I don't recall.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Payment processor POST off-site
March 15, 2011, 03:25:32 pm
No, you used the undocumented feature of Elavon that it accepts GET.

The one I'm working on does too but it is possible to see the GET URL if you use the back button which is not great (no password in it but a username)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Payment processor POST off-site
March 16, 2011, 03:55:26 am
I see. I forgot.

Anyhow your original post makes sense to me.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Payment processor POST off-site
May 20, 2012, 04:35:02 pm
@eileen, did you find a way to post instead of get?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Payment processor POST off-site
May 20, 2012, 05:03:43 pm
nope - not yet. It feels like the form process needs re-working
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Payment processor POST off-site
May 20, 2012, 11:59:05 pm
Ok,

did you look at how it'd need to be changed/how long it would take?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Payment processor POST off-site

This forum was archived on 2017-11-26.