Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4246970
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:02:44+00:00 2026-05-21T04:02:44+00:00

I am a bit confused on how i create and send this call to

  • 0

I am a bit confused on how i create and send this call to the url with php….here is the xml i need to create

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="http://www.site.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <mer:InitializePayment>
         <mer:request>
            <mer:MerchantID>67779987</mer:MerchantID>
            <mer:Password>XXXXXXXXXXXXXXXX</mer:Password>
            <mer:Invoice>12345</mer:Invoice>
            <mer:TotalAmount>1.03</mer:TotalAmount>
            <mer:TaxAmount>0.50</mer:TaxAmount>
            <mer:AVSAddress>4 Corpor</mer:AVSAddress>
            <mer:AVSZip>30329</mer:AVSZip>
            <mer:TranType>PreAuth</mer:TranType>
            <mer:CardHolderName>John Jamed</mer:CardHolderName>
            <mer:Frequency>OneTime</mer:Frequency>
            <mer:CustomerCode>CustCode123</mer:CustomerCode>
            <mer:Memo>HostedCheckoutMemo</mer:Memo>
            <mer:ProcessCompleteUrl>https://somesite/ordercomplete.aspx</mer:ProcessCompleteUrl>
            <mer:ReturnUrl>https://somesite/ShoppingCart.aspx</mer:ReturnUrl>
            <mer:DisplayStyle>Prent</mer:DisplayStyle>
            <mer:BackgroundColor>#FFFFFF</mer:BackgroundColor>
            <mer:FontColor>#000000</mer:FontColor>
            <mer:FontFamily>FontFamily1</mer:FontFamily>
            <mer:FontSize>Medium</mer:FontSize>
            <mer:LogoUrl>https://somesite/images/DurangoPet2.PNG</mer:LogoUrl>
            <mer:PageTitle>Test SoapUI</mer:PageTitle>
            <mer:SecurityLogo>On</mer:SecurityLogo>
         </mer:request>
      </mer:InitializePayment>
   </soapenv:Body>
</soapenv:Envelope>

and here is a sample url i need to send to

  https://someplace.net/tws/TransactionService.asmx?wsdl  

Maybe i am confused because i assumed that making an api call would be like this

  https://someplace.net/tws/TransactionService.asmx?wsdl?MerchantID=67779987&XXXXXXXXXXXXXXXX

Maybe someone can clear this up for me

    array(6) { 
[0]=> string(74) "InitializePaymentResponse InitializePayment(InitializePayment $parameters)" 
[1]=> string(62) "VerifyPaymentResponse VerifyPayment(VerifyPayment $parameters)" 
[2]=> string(77) "AcknowledgePaymentResponse AcknowledgePayment(AcknowledgePayment $parameters)"  
[3]=> string(74) "InitializePaymentResponse InitializePayment(InitializePayment $parameters)" 
[4]=> string(62) "VerifyPaymentResponse VerifyPayment(VerifyPayment $parameters)"
[5]=> string(77) "AcknowledgePaymentResponse AcknowledgePayment(AcknowledgePayment $parameters)" } 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T04:02:44+00:00Added an answer on May 21, 2026 at 4:02 am

    You need to use SOAP (in this instance) http://www.php.net/manual/en/soapclient.dorequest.php to use wsdl services ( http://en.wikipedia.org/wiki/Web_Services_Description_Language )

    as for second part

    Usually your SOAP headers woudl have authentication
    as indicated in you sampel XML (request)

     <mer:MerchantID>67779987</mer:MerchantID>
     <mer:Password>XXXXXXXXXXXXXXXX</mer:Password>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am a bit confused about socket programming in C. You create a socket,
I'm a bit confused here. Microsoft as far as I can tell claims that
I am a bit confused why this code compiles. I leave out the necessary
You guys were very helpful yesterday. I am still a bit confused here though.
I have checkedout the docs on this but I am still a bit confused.
hello im a bit confused here. lets say we are making a simple page
I am bit confused about ADO.Net Data Services. Is it just meant for creating
I'm a bit confused that the argument to crypto functions is a string. Should
I'm a bit confused from what I've heard Java doesn't do events. But I
I'm fairly new to the Zend Framework and MVC and I'm a bit confused

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.