Announcement

Collapse
No announcement yet.

FaaS submission via curl and error handling

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CnP.Support
    replied
    Have you seen this example?

    http://manual.clickandpledge.com/Sample-Programs.html

    There is a sample PHP program there using the XML post.

    Leave a comment:


  • alexpg
    replied
    Originally posted by Support.Department View Post
    Good 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
    Would you happen to have any PHP examples of a PaaS form? It's still not giving me a response when I try to send the XML to the payment service.

    Thanks!

    Leave a comment:


  • alexpg
    replied
    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.

    Leave a comment:


  • CnP.Support
    replied
    Good 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

    Leave a comment:


  • alexpg
    replied
    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

    Leave a comment:


  • CnP.Support
    replied
    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.

    Leave a comment:


  • alexpg
    started a topic FaaS submission via curl and error handling

    FaaS submission via curl and error handling

    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?
Working...
X