Jump to content

Post/Receive XML data in PHP?


nsstudio

Recommended Posts

Hi everyone! I'm trying to integrate my PHP/mySQL member billing system with an XML payment gateway (specifically, Orbital Paymentech). They've given me sample XML request & response templates, but I'm just not sure how that fits into my PHP page. I have a PHP form where a user fills in their credit card info, but when they click "Submit" the data needs to be transmitted as XML, and then an XML response will be sent back to the PHP page that needs to be parsed.

Can anyone point me in the right direction? I assume this is simple, I've just never worked with XML in a PHP environment. Thanks for any help you can provide!
Link to comment
Share on other sites

If your PHP has expat, you can use it's XML parser functions:

[a href=\"http://www.php.net/xml\" target=\"_blank\"]http://www.php.net/xml[/a]

I personally only used it to retrieve data, not to generate XML's though.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.