In a nutshell, I need to have the form process donations to both C&P FaaS and a CRM simultaneously. The easiest way to accomplish this is by submitting the information to both third parties through CURL and XML Submit. My only concern is the ability to report errors or card declines through an error handling function and not actually directing the users to separate HTML files. This seems silly in the first place, so does anyone have any examples or direction on curl submissions/error handling?
Announcement
Collapse
No announcement yet.
FaaS submission via curl and error handling
Collapse
X
-
Good day!
What CRM are you working with?
Have you considered returning to the same form with an error allowing the end user to enter the info again and trying again?
Unfortunately, at Click & Pledge, we don't have any CURL experience so won't be able to be of much help.Regards,
Click & Pledge Support Department
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/
-
BackOffice. Basically the form is processing on our end and submitting to both BackOffice and C&P. I can't post the form directly to C&P because I'd have to store sensitive information locally in order to carry it over to the error/decline/success pages.
What would you recommend as an alternative to HTTP_Request or curl to post the form? I'm limited to PHP here
Comment
-
Regards,
Click & Pledge Support Department
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/
Comment
-
Ah great, thank you! From what I'm reading it appears I can submit to PaaS using XML, which would be ideal. I'm already using XML submission to post the donations to BackOffice, so translating it over to C&P shouldn't be terribly difficult.
Thanks for your help on this.
Comment
-
Originally posted by Support.Department View PostGood day!
I am just curious about your approach.
You appear to be a programmer so why are you not using the PaaS platform since it is a complete service and it won't redirect you to anywhere. FaaS platform is a front end form processor for PaaS.
http://manual.clickandpledge.com/Pay...a-Service.html
Thanks!
Comment
-
Regards,
Click & Pledge Support Department
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/
Comment
Comment