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

A bit confused with wiring controllers, I need some help I create a new
I've seen this question before, but still a bit confused: how would I create
I'm a bit confused it seems here. What I'm trying to do is create
I am a little bit confused about 2 things. Firstly when I create an
Bit confused here, I have an on-demand instance but do I get charged even
I am a bit confused at this point on what is an object, what
I am a bit confused with mysql create procedure script. My script looks like
I'm a bit confused, how can I create public and private members. My code
This might be a very basic question, but I'm getting a bit confused. I'm
I'm a little bit confused as to how to create daemons in NodeJS I've

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.