paypal-adaptive-payments

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

PayPal lightbox won't open in iPhone safari/web app; 'win.location' undefined

前提是你 提交于 2019-12-21 02:58:10
问题 (works fine in Chrome on the iPhone ) I get this error: TypeError: 'undefined' is not an object (evaluating 'win.location') in dg.js line 3 And the lightbox does not open. The code in question inside PayPal's dg.js is: startFlow: function (url) { var win = that._render(); if (win.location) { win.location = url; } else { win.src = url; } } So does mobile Safari not understand that._render() ? How do I get around this? If it matters, I'm using Adaptive Payments , calling it like so: var dg =

Paypal adaptive payment php

孤人 提交于 2019-12-20 10:55:13
问题 I have this problem. I've follow this tutorial -> http://www.youtube.com/watch?v=rzRR1i-F_VA and after setting everything, I have some problem with getting through the authentification process. And After some research on authentification, I've tested this -> https://developer.paypal.com/webapps/developer/docs/classic/lifecycle/ug_sandbox/ At some point in the process (Making test requests), I've tested it in a bash console, and my userid, password and signature worked. So I figure that the

PayPal Adaptive Payments IMPLICIT Pay API

﹥>﹥吖頭↗ 提交于 2019-12-20 10:42:00
问题 I am basically trying to use the PAY call of Adaptive Payments to programmatically and immediately send funds from my own paypal account to other accounts. According to the documentation, so long as I specify the senderEmail (my own paypal address, used to set up the Adaptive Payments), this should work verbatim. However, when I make the call, I always get result "CREATED" instead of "COMPLETED". Created means the system still wants me to manually log into PayPal and approve the payments. I

PHP example for PayPal Adaptive Payments ConvertCurrency API

爷,独闯天下 提交于 2019-12-18 11:32:27
问题 Trying to wrap my head around the new PayPal Adaptive Payments API - specifically the ConvertCurrency functionality. Has anyone had any luck with this in PHP? Documentation: https://www.x.com/docs/DOC-1400 回答1: It's very easy to convert to dif. currencies using Paypal's Adaptive Payments SDK. Assuming you have the necessary info. (API username/passwd, etc) to make requests to the API, it can be done as follows: <?php //First we need to include the class file of the Adaptive Payments include

Adaptive Payments payment COMPLETED although actionType is CREATE

冷暖自知 提交于 2019-12-18 03:41:30
问题 Using the Adaptive Payments API I acquired a pay key using the API method Pay with these parameters: actionType: CREATE receiverList.receiver(0).email: ... receiverList.receiver(0).amount: 5 currencyCode: EUR cancelUrl: ... returnUrl: ... requestEnvelope.errorLanguage: en_US Then I started the embedded pay flow with this URL: https://www.sandbox.paypal.com/webapps/adaptivepayment/flow/pay?expType=light&payKey=... After the lightbox is closed again, when I call the PaymentDetails method on the

Adaptive Payments payment COMPLETED although actionType is CREATE

和自甴很熟 提交于 2019-12-18 03:41:03
问题 Using the Adaptive Payments API I acquired a pay key using the API method Pay with these parameters: actionType: CREATE receiverList.receiver(0).email: ... receiverList.receiver(0).amount: 5 currencyCode: EUR cancelUrl: ... returnUrl: ... requestEnvelope.errorLanguage: en_US Then I started the embedded pay flow with this URL: https://www.sandbox.paypal.com/webapps/adaptivepayment/flow/pay?expType=light&payKey=... After the lightbox is closed again, when I call the PaymentDetails method on the

Paypal Preauthorized + Adaptive payment

独自空忆成欢 提交于 2019-12-14 03:22:00
问题 I'm working on an online marketplace built on Ruby On Rails where customer can book services from the provider. Existing flow: (Preauthorize Only) Customer Authorize money => Service provider provides the services => Money will be capture to my account => I'm paying providers manually using their paypal email address. What I want: (Preauthorize + Adaptive) Customer Authorize money => Service provider provides the services => Money will be capture to my account and will split between Provider

PayPal Adaptive payments error You do not have permission to execute this payment implicitly

你说的曾经没有我的故事 提交于 2019-12-13 12:27:13
问题 I have a simple app that sends payments. The app works fine in sandbox. Live classic app app ID is already approved (shows as "Approved Automatically"), but when I enter my live credentials it returns the error "You do not have permission to execute this payment implicitly" Sending XML to endpoint https://svcs.paypal.com/AdaptivePayments/Pay : I'm sending it using my live API key, and live account credentials: applicationId = my live app ID (already approved) X-PAYPAL-SECURITY-USERID = my

preapproved payments with paypal in rails 3.2

限于喜欢 提交于 2019-12-13 05:35:39
问题 I send this info to paypal for using preapproved payment feature : response = gateway.preapprove_payment( :return_url => user_orders_url(current_user), :cancel_url => user_orders_url(current_user), :requestEnvelope => {"errorLanguage" => "en_US"}, :start_date => Time.now, :end_date => Time.now + (60*60*24) * 30, :currency_code =>"USD", :senderEmail =>"email address of sender", :max_amount => "20.00", :maxNumberOfPayments => "1", :notify_url => ipn_notification_user_orders_url(current_user), )