-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Payment.get or Payment.list #78
Comments
Hi @jhallam3, was that payment made using a REST or Classic (Merchant API) call? |
Was from our booking system that is Wordpress plugging. Probably classic... Our newer solution moving forward would use your new API. However we Basicly I'm wanting to get details like address and amount in to our Hopefully that can be done 😀 Fast response too that's great! Thanks! Good to know there's people |
If it's Classic, then you'll have to use the Merchant SDK and call Once you get the newer solution working that uses REST, you can use Hope that helps! Let me know over on the Merchant SDK repo if you have any trouble finding the transaction details for that ID using that SDK. |
Thanks! I'll give that a go! Regards Jon Hallam On 11 Feb 2015, at 20:01, Jason Ziaja notifications@github.com wrote: If it's Classic, then you'll have to use the Merchant SDK Once you get the newer solution working that uses REST, you can use Hope that helps! Let me know over on the Merchant SDK repo if you have any — |
Is it possible to put the API Keys inside the code rather than xml? I'm Regards Jon Hallam On 11 Feb 2015, at 20:01, Jason Ziaja notifications@github.com wrote: If it's Classic, then you'll have to use the Merchant SDK Once you get the newer solution working that uses REST, you can use Hope that helps! Let me know over on the Merchant SDK repo if you have any — |
Yup! And now that you bring it up, it'd be nice if there was a blurb on the main README that showed this an alternative to using the web.config or app.config. When you call using PayPal.Api;
var config = new Dictionary<string, string>
{
{"mode", "sandbox"},
{"clientId", /* call to get clientId from database here */},
{"clientSecret", /* call to get clientSecret from database here */}
};
var accessToken = new OAuthTokenCredential(config).GetAccessToken();
var apiContext = new APIContext(accessToken); You can even mix and match if you'd like to have some properties stored in the web.config or app.config and others sourced from a database: using PayPal.Api;
var config = ConfigManager.Instance.GetProperties();
config["clientId"] = /* call to get clientId from database here */;
config["clientSecret"] = /* call to get clientSecret from database here */;
var accessToken = new OAuthTokenCredential(config).GetAccessToken();
var apiContext = new APIContext(accessToken); |
Hi there, Im looking at doing some work with PayPal and wanted to check which type of the SDK to use for subscriptions and what option is best with asp.net http://asp.net/ MVC page. Im lost with all the options available added complexity of MVC I’m really really lost and not sure where to go. Any support would be amazing! Thanks in advance. Regards
|
@jhallam3 , access to the Subscriptions API is available in this SDK via the Plan and Agreement classes. There are also samples available for subscriptions that show how to set one up. The samples are currently only available as a WebForms project, but the logic for getting everything setup should be easily translatable to an MVC project. |
I'm casting my vote for the ability to search for and locate ANY transaction via the REST API (and the .NET SDK), not just those created by an API. In other words, the REST API (and the .NET SDK) should be able to locate transactions that were created manually via the website user interface. A returned list of merely API-created transactions (any API) is simply not sufficient—manually-created transactions should be included as well. This is a very serious issue. I haven't seen discussion regarding the problem that's dated newer than over a year ago, so I hope attention to it hasn't waned. Thanks, |
Hi There.
Im wanting to get the payment information for a particular transaction All I have is this code.
'PayPal Express Checkout Payment Received (Unique Transaction ID 7Y101347N5101833S)'
Ive hunted and hunted for two days now and cant see how to get this information.
Basiclly All I want is to get the details of that transaction in the c#.
Please help.
The text was updated successfully, but these errors were encountered: