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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:06:40+00:00 2026-05-23T11:06:40+00:00

I want to simulate a simple scenario with the adaptive API. A seller, buyer

  • 0

I want to simulate a simple scenario with the adaptive API. A seller, buyer and my app.
I created 3 test accounts in the Sandbox website:

Account named buyer – of type Personal.
Account named seller – of type Business.
Account named myApp – of type Business.

I am using the Adaptive Payments C#.Net code samples from paypal developers site. (The code I am using is inside csharp_nv_adaptivepayments.zip , in the Pay.cs file).

I changed sAPIUser, sAPIPassword, sAPISignature to match myApp (From API Credentialns page in SandBox site)

I changed sReceiverEmail to the seller email.
I changed sSenderEmail to the buyer email.

After sending the request to https://svcs.sandbox.paypal.com/AdaptivePayments/Pay ,
and getting the response with sResponse = oStreamReader.ReadToEnd(); I get an OK status and I have a payKey in my hand.

Now, as the AdaptivePayments PDF says (P. 70) I need to redirect the user to
https://www.paypal.com/webscr?cmd=_ap-payment&paykey=value , So I use Response.Redirect() to this url. When the browser loads the page, I get a java script error in:
var sf = new PAYPAL.AP.Subflow();
Stating that “Object doesn’t support this action”.

I tried to change the url to http://www.sanbox.paypal….paykey=value but then I just get a white page , saying “Please login to use the PayPal Sandbox features.”
Also, in both cases i didn’t see any payment activity in the seller,buyer logs.
What am I doing wrong here ?

  • 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-23T11:06:40+00:00Added an answer on May 23, 2026 at 11:06 am

    Yaron,

    To make Live API calls, you need to obtain a Live APP ID from PayPal,
    For making sandbox calls, you need to properly set up the sandbox testing environment, AND be logged in to it beforehand.

    This guide explains in detail what you need to do for each case:
    Requires x.com free registration

    http://www.x.com/servlet/JiveServlet/download/211264-21046/HelloMoney.zip


    EDIT
    X.com died a while back. I’ve posted my original files in GitHub:

    https://github.com/lmarkus/AdaptivePaymentsExample

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

Sidebar

Related Questions

I want to simulate many key press events. I found a solution by using
I want to simulate stroking a carpet, so you would have a graphic of
I would want to simulate the behavior of a table with div. I have
Lets say I want to simulate a particle state, which can be normal (0)
I have an application where I want to simulate the connection between a device
I have a 32GB memory machine and I want to simulate trying out one
I'm developing a Silverlight application where I want to simulate a console. There are
I have multiple buttons on a page and I want to simulate a click
I'm developing a firefox extension and i want to simulate :hover state of an
According to http://en.wikipedia.org/wiki/Producer-consumer_problem I want to simulate P/C problem using semaphore. I am getting

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.