Support

Home Forums Event Espresso Premium Call SOAP Webservice when click on "Proceed to Payment Options"

Call SOAP Webservice when click on "Proceed to Payment Options"

Posted: July 5, 2016 at 3:31 pm

Viewing 4 reply threads


ARAGATO

July 5, 2016 at 3:31 pm

I would like to implement a “live” verification process inside the payment process. I have added two custom question fields that are displayed during the payment process.
http://uploads.aragato-server.net/screenshots/201607054e6faeced4.jpg

When clicking on the “Proceed to Payment Options” a webservice should be called. This webservice should be filled with the values of the two fields.

<?php

$number = „xxxx“; => Matrikelnummer
$pass = „yyyy“; => Studentenpasswort

$options = array("location" => "xxx", "uri" => "xxx");
$api = new SoapClient(NULL, $options);
if ($api->verify($user,$pass)) echo "OK!";
else echo "not OK!";

?>

If the webservice returns OK, then the payment process is supposed to continue. If it returns not OK, then a error message is supposed to popup, i.e. “Verfication not successful. Please check your entered credentials.”


Josh

  • Support Staff

July 6, 2016 at 1:18 pm

I can recommend contacting one of the developers listed on the Pros page for a quote. They’ll be able to build a custom extension to your specifications.

https://eventespresso.com/developers/event-espresso-pros/


ARAGATO

July 7, 2016 at 2:35 am

Ok, I will do.
Besides that, could you tell me the file(s) in which the payment process is handled, please?


Josh

  • Support Staff

July 7, 2016 at 8:15 am

Those steps are driven by the files in /modules/single_page_checkout/reg_steps.


ARAGATO

July 8, 2016 at 5:04 am

Thanks. Exactly what I was looking for.

Viewing 4 reply threads

The support post ‘Call SOAP Webservice when click on "Proceed to Payment Options"’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso