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 9067011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:50:52+00:00 2026-06-16T16:50:52+00:00

I have some problem when i integrate PayPal with SOAP API. Now, This my

  • 0

I have some problem when i integrate PayPal with SOAP API.

Now, This my code

// Set paypal
// Include NuSOAP
$url_nusoap                 = "xxx/nusoap/nusoap.php";
include($url_nusoap);

$wsdl_URL = "https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl";
$s_URL  = "https://api-3t.sandbox.paypal.com/2.0/";
$s_Ver  = "94.0";

$header = "";
$header .= "<RequesterCredentials xmlns='urn:ebay:api:PayPalAPI' xsi:type='ebl:CustomSecurityHeaderType'>";
$header .= "<Credentials xmlns='urn:ebay:apis:eBLBaseComponents' xsi:type='ebl:UserIdPasswordType'>";
$header .= "<Username>@api_username@</Username>";
$header .= "<Password>@api_password@</Password>";
$header .= "<Signature>@api_signature@</Signature>";
$header .= "</Credentials>";
$header .= "</RequesterCredentials>";

$s  = new soap_client($wsdl_URL, true);
$err = $s->getError();
if ($err) die("Soap client constructor err.. check wsdl url");

//set end point
$s->setEndpoint($s_URL);

$s->setHeaders($header);

$bodyReq = "?"
$result = $s->call("?", $bodyReq);

And my problem is i don’t know what should i call API in “$bodyReq” and $s->call(); ?
This my situation :
In my site can select pay method

  1. Paypal
  2. xxx
  3. xxx

When i choose “1 Paypal” and submit – Redirect to “pay_checker” if pay_method == “Paypal” redirect to “PAYPAL SOAP API Page” (if pay_method == “xxx” redirect it to some API in other pay services)

I need if i select “PayPal method” and redirect to “PAYPAL SOAP API” page it’s call some API to pass $amount ,$product_name and redirect to PAYPAL Billing page

somebody help me please

Thank you.

Edit —— Now i learn “ExpressCheckout” but i don’t know where point to learn it

  • 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-06-16T16:50:53+00:00Added an answer on June 16, 2026 at 4:50 pm

    What you currently have is building your credentials only, which would then get included in your actual XML request, which is where $bodyReq would come into play.

    PayPal provides plenty of documentation for Express Checkout, including this document specific to the SOAP API. Chapter 6 covers Express Checkout.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some problem with the cursor when using JOprionPane. I set a cursor
I have some problem with this mongoid. It's my first time to use mongoDB,
I have some problem with MySQL Workbench in that I sometimes can't set foreign
I have some problem in my JDBC code. I am trying to connect through
I have some problem with my code public IQueryable<PageItems> GetPageById(Guid Id) { var xml
I normally work in Objective-C, but am now trying to integrate some C code
I have the following problem. I am trying to integrate a large code written
I have some problem to get the utf-8 string from PHP using jQuery $.load()
I have some problem. Dialog.dismiss() does not work. I want to input ip, username,
I have some problem with Emit mapper when I try to save in database

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.