paypal

How can I simulate an error using Paypal Payments Pro sandbox?

允我心安 提交于 2020-01-03 03:01:33
问题 How do I simulate an error with PayPal Payments Pro? I am trying to simulate things such as Suspected Fraud, Declined cards etc. We are using Magento Commerce Enterprise edition and would love to be able to see errors from the user interface. Any help would be greatly appreciated. We are developing using the PayPal sandbox. 回答1: On the Developer Central site (https://developer.paypal.com), log in and go to Dashboard >> Sandbox >> Accounts . Find the email address for the PayPal Payments Pro

pulling shipping information from android PayPal sdk

限于喜欢 提交于 2020-01-03 02:29:09
问题 Does the new native PayPal sdk for android have the ability to pull shipping information to give to the merchant? The sample code provided on the PayPal site will process cards etc, but it appears to me that the api only provides payment confirmation. What good is this api if you don't know where to send your product? Anyone know how to do this? 回答1: Jeff from PayPal at your service. The PayPal Android SDK does not support shipping addresses just yet. Your feedback is heard, and we plan to

Passing values or variables over to paypal cart

∥☆過路亽.° 提交于 2020-01-03 02:22:21
问题 I am developing a website so that a customer can buy gardening products. Currently, a customer can browse products on the website. When they select an individual product, I want them to be able to add to cart using Paypal's custom button. My website is set up so that when a user selects a product, it grabs the information from the database. What do I need to do in order for the product they have added to cart to appear in the Paypal cart? (with its name, and price). From what I understand,

PayPal email ID of the user who has approved Future Payment

流过昼夜 提交于 2020-01-02 23:06:45
问题 We are using PayPal future payments in our IOS app. We need to know email ID of the account that has authorized future payment. How can we fetch email ID of the user who has authorized future payment. Current API operation for approval returns only authorization token. 回答1: I'm assuming by "future payments" you're referring to Preapproved Payments..?? Setup an IPN solution and make sure to an IPNNotificationURL in your Preapproval API request. The IPN will include more details about the

Paypal subscriptions IPN - problem with users subscribing multiple times

烂漫一生 提交于 2020-01-02 18:22:12
问题 I'm using paypal subscriptions and the instant payment notification (IPN) to handle subscribers on my site. For the most part it works well but there is one occasional problem I've encountered. Usually if a user cancels their subscription, I wait for the "end of term" (subscr_eot) notification before disabling access to my site. So if they prepay for the whole month, and then cancel right away, they still have access for the rest of the month (as it should be). But some users are having this

PayPal Express returns 4011 error message in Sandbox mode

自作多情 提交于 2020-01-02 16:17:09
问题 I am using PayPal express in Sandbox mode in my PHP script (curl + SOAP). I have a simple purchase form with 1 "buy" button. When it's clicked I send initial SetExpressCheckout request and get successfull response from paypal with Acc=success and a fresh token <Ack xmlns="urn:ebay:apis:eBLBaseComponents">Success</Ack> <Token xsi:type="ebl:ExpressCheckoutTokenType">EC-4GV76670YM092205U</Token></SetExpressCheckoutResponse> Next I am trying to redirect script to PayPal with this new token:

PayPal Donate Button Redirect After Payment

我是研究僧i 提交于 2020-01-02 16:15:48
问题 I know how to make a PayPal donate button redirect after payment, but what I need to know is, can you pass the payed amount through this redirection. So it would redirect to http://example.com/donate?amount=123 , is this even possible? Thanks! EDIT: It seems I can do it with IPN(?), I just don't know how to use paypal's IPN, can anyone help me? (yes I have read the docs, they are confusing) 回答1: yes it is possible, like so: <!-- where you setup your paypal button : --> <input type="hidden"

How can I avoid auth and time issues using Paypal's Adaptive Payments API with Ruby?

瘦欲@ 提交于 2020-01-02 07:41:10
问题 I'm running into multiple issues trying to access Paypal's Adaptive Payment API from Ruby. The main issue I ran into initially was that Paypal requires their HTTP headers to be in all caps but Net::HTTP does not preserve the case of HTTP headers (it stores them 'downcased' and then outputs them 'capitalized' -- so if you set the header 'X-PAYPAL-SECURITY-USERID' it is stored as 'x-paypal-security-userid' and output as 'X-Paypal-Security-Userid'). I was getting "500000 Internal Server" errors

How to disable/enable PayPal button on Checkbox activation?

怎甘沉沦 提交于 2020-01-02 07:18:22
问题 I have a page on my site that is setup for recurring payments, but I want to disable the PayPal checkout buttons until someone has checked the box that agrees to my Terms Of Service. Can you help me figure out how to do this properly? THANKS!!!!! -Brad 回答1: I'm not gonna give you a full answer written in code because I don't know the elements or variable names in your code. Also it's better to write your own and learn. Use jquery to add a .toggle() function on the checkbox item. You can

How to integrate PayPal express checkout into angular2 typescript project

别来无恙 提交于 2020-01-02 01:18:53
问题 Paypal provides an easy way to integrate its express checkout solution but what is the best solution to use this solution in an angular2 project working written in typescript? 回答1: I've used a solution like this: Method to load external scripts private loadExternalScript(scriptUrl: string) { return new Promise((resolve, reject) => { const scriptElement = document.createElement('script') scriptElement.src = scriptUrl scriptElement.onload = resolve document.body.appendChild(scriptElement) })