paypal

Paypal sandbox PDT Fail 4020

霸气de小男生 提交于 2019-12-23 18:01:55
问题 So, I've created a sandbox transaction and am trying to get the data for it on my thank you page. <?php $tx = $_REQUEST['tx']; $pdti = "REDACTED"; $url = "https://www.sandbox.paypal.com/cgi-bin/webscr"; $data = array("tx" => $tx, "at" => $pdti,"cmd" => "_notify-synch"); $options = array( "http" => array( "header" => "Content-type: application/x-www-form-urlencoded\r\n", "method" => "POST", "content" => http_build_query($data), ), ); $context = stream_context_create($options); $result = file

Paypal Rest API - Immediate Payment life time

筅森魡賤 提交于 2019-12-23 17:51:16
问题 i didn't find any information about life time of payments with intent "sale". If a user cancel's payment by closing the paypal window, then i should be abled to continue payment by looking up the payment via api and redirect him to the approval url. But this works only for a certain time span. I'm abled to look up payments from yesterday, the response tells me about a payment state of "created" but after redirection to the approve_url paypal's website says: Your Session has ended. This

Edit Settings in web.config

怎甘沉沦 提交于 2019-12-23 17:23:50
问题 I didn't know how to title this question - I am making a request to PayPal's Express Payment API. I'm using their dll that helps make the request and parse the response. The instructions for their code to work is to add you authorization credentials in the web.config file. I have done so. My problem is that I want to be able to edit these credentials that are being set dynamically (probably got from SQL) because we are going to allow different users to enter their API credentials. Sending the

PHP - Paypal API form and security [closed]

懵懂的女人 提交于 2019-12-23 17:16:19
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I'm using the standard php paypal form for payments on my e-commerce app. I noticed that people with just firebug can change the paypal form data before sending the request for paying by the "PAY NOW" button. So I'm wondering, is it a "standard" to have a payment's form that can

Working example of paypal Website Payments Pro Hosted Solution Iframe?

感情迁移 提交于 2019-12-23 16:56:14
问题 I am looking to use use paypals Website Payments Pro Hosted Solution so we can accept payments through paypal without our users feeling like they are leaving the site and without us having to be PCI compliant. We are wanting this to work in this format: user hits buy page for an item and selects quantity and hits buy now button AJAX request is sent to server to validate quantity/calculate total etc AJAX request returns url for iframe Iframe is populated with the page, then once it has

Cannot find paypal payment buttons creation on sandbox

旧巷老猫 提交于 2019-12-23 16:15:49
问题 I have two sandbox paypal accounts: buyer and business(seller). Recently i added a generated html from paypal as "Buy Now" button and it seems to work great. Now i want to add sandbox button to test the process but after logged in to my sandbox account i cannot see any option to create payment button like had in my regular account. I already read the paypal developer docs for sandbox but i do not see the "Create paypal button" anywhere. It sounds to me like a simple issue and i cannot figure

Generating Paypal Signature, 'X-PAYPAL-AUTHORIZATION' in Ruby

情到浓时终转凉″ 提交于 2019-12-23 15:14:59
问题 Is there any library in Ruby that generates the Signature, 'X-PAYPAL-AUTHORIZATION' header that is required to make calls on behalf of the account holder who has authorized us through the paypal Permissions API. I am done with the permissions flow and get the required access token, tokenSecret. I feel I am generating the signature incorrectly as all my calls with the the generated 'X-PAYPAL-AUTHORIZATION' fail. They give the following errors: For NVP call I get: You do not have permissions to

Paypal return URL - using GET parameters?

廉价感情. 提交于 2019-12-23 15:08:56
问题 Here's some simple code I'm using to test the Paypal Website Payments Standard upload thingy. My return URL is http://mysite/index.php?module=store&show=order_confirm I go through the payment process, and when I get to the end and it returns me to the page, it instead just returns me to index.php (i.e. without the extra parameters). Anyone know what the deal with this is <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_cart" /

How-to better integrate Paypal “Buy Now” button for 3rd-party sellers?

你。 提交于 2019-12-23 13:10:46
问题 I'm trying to find the best way to integrate Paypal "Buy Now" buttons in my website, but I'm quite lost with all the various Paypal integration techniques (hosted buttons, dynamic buttons, IPN, PDT, and other various APIs) I would like to integrate the better/easiest solution for my need and also a secure one... I don't really know where to go... Many thanks in advance for your help! The context : I own a website that aims to be a " marketplace " to sell digital goods. Some people (let's call

Custom Paypal field on button

限于喜欢 提交于 2019-12-23 12:36:26
问题 I need to include a custom field when PayPal notifies me of a payment. I'm trying to use the advanced variables, but I don't see a way that I can make them dynamic. Pretend I have a field "xyzzy" with a value of "plugh". I would like PayPal to include form.xyzzy=plugh with all the other fields that it sends to my notify_url. Of course, the value of xyzzy might be "foo", depending upon what they user wants. 回答1: There's only "custom": input type="hidden" name="custom" value="plugh" This is