paypal-adaptive-payments

Invalid parameter : currency in PayPal MPL SDK for iOS

随声附和 提交于 2019-12-13 04:32:34
问题 I am using PayPal MPL SDK for iOS app. I am initiating the transaction for China using CNY currency. When I clcik on Pay with PayPal button , I am getting below error Invalid parameter : currency So I tried with RMB currency , still I got the same error. Can anybody tell me whats wrong in the currency for China ? Thanks. 回答1: RMB is not a valid currency value for use in the Mobile Payment Library. The Mobile Payment Library Guide for iOS has a list of currencies that are supported: https:/

Convert string to object hierarchy

牧云@^-^@ 提交于 2019-12-13 02:23:31
问题 I have the following string returned from an API and I want to convert it to an object hierarchy using javascript. The string received is: "paymentInfoList.paymentInfo(0).receiver.amount":"12.00" I want to convert it to a javascript object like: { paymentInfoList: { PaymentInfo: [{ receiver: { amount: 12.0 } }] } } I could write my own parser but wonder if there is some code already out there. Update Based on the answer from @JasonCust here is a parser to parse a full response from the PayPal

Is it possible to create a market place style app with paypal?

别来无恙 提交于 2019-12-13 02:14:09
问题 I am working on a web application for a client and he wants the payflow to work sorta like this: Seller makes an offer for an item Customer purchases the item The seller sees the item is paid for but won't get the payment When the item has been marked shipped the payment minus app fee and paypal fees will be sent to seller App Fee is deposited into the application's paypal account I have implemented it using paypal's express payment api and do the payouts manually. But this has caused double

How to manage multi-vendor PayPal transactions with service fee for my site?

血红的双手。 提交于 2019-12-13 02:11:27
问题 My web application is a multi-vendor marketplace service PayPal requires that the vendors are the primary recipient for chargeback reasons My company collects a service fee % from the vendor for each sale There can be several vendors in one client purchase Chained payments only allow one primary recipient Parallel payments require that I expose the buyer to the service fee. For example, if I show an item for sale for $11 on the site, in PayPal's transaction interface, the buyer then must

Paypal credit card transaction not working in sandbox mode

扶醉桌前 提交于 2019-12-12 23:50:53
问题 I am using paypal ios sdk for payment. I tried to pay with credit card in sandbox mode. I am getting State=pending .It accepts my creditcard details but When I click on charge credit card It procees for that and then I got response from paypal : { client = { environment = sandbox; "paypal_sdk_version" = "1.3.3"; platform = iOS; "product_name" = "PayPal iOS SDK"; }; payment = { amount = "122.00"; "currency_code" = USD; "short_description" = "Paying to MYAPP"; }; "proof_of_payment" = { "rest

Paypal Parallel Payment with Multiple Currencies

▼魔方 西西 提交于 2019-12-12 19:11:07
问题 Paypal Parallel payment allow sending payment to multiple merchants. But is it possible to send multiple payment that consists of different currencies to multiple merchants? Sender 50.00 SGD -> Merchant 1 25.00 USD -> Merchant 2 20.00 USD -> Merchant 3 回答1: When multiple payments are passed in one transaction, all of the payments must have the same currency code. 来源: https://stackoverflow.com/questions/15997620/paypal-parallel-payment-with-multiple-currencies

PayPal - Payment Summery doesn't show items set by SetPaymentOptions

对着背影说爱祢 提交于 2019-12-12 18:23:50
问题 I'm working with Adaptive Payments using PayPal SDK for .Net. I'm trying to use SetPaymentOptions method to set the items I wish to display in the Payment Summary section, however, when I redirect the site to the sandbox approval page using the pay key I received from the Pay method, the payment summary only shows one row that says "faciliator account's Test Store" and the total amount. The response returns a success code, plus I see that other parameters, such as BuisnessName (in

Adaptive Payments Pay API Error 580001

倾然丶 夕夏残阳落幕 提交于 2019-12-12 15:56:21
问题 I'm making a PAY request to the paypal adaptive payments API in python and getting a generic error id 580001 with no additional information. headers = { # API credentials for the API caller business account 'X-PAYPAL-SECURITY-USERID': config.PAYPAL_API_USER_ID, 'X-PAYPAL-SECURITY-PASSWORD': config.PAYPAL_API_PASSWORD, 'X-PAYPAL-SECURITY-SIGNATURE': config.PAYPAL_API_SIGNATURE, 'X-PAYPAL-APPLICATION-ID': 'APP-80W284485P519543T', 'X-PAYPAL-REQUEST-DATA-FORMAT': 'JSON', 'X-PAYPAL-RESPONSE-DATA

paypal Adaptive Payments error: 550001 - You do not have permission to constrain funding sources

痴心易碎 提交于 2019-12-12 15:23:29
问题 I am getting this error when using the live API credentials for Adaptive Payment. reading across intrwebs and documentation it has to do something with the account permissions, but to be fair i don't know which one. receivers, api holders, or apps I have created the APP, got the key and it has status of "Approved Automatically" The request that I am using is "basic parallel payment" (from one recipient to another, or rather from buyer to seller) The account that provides an API key is

Paypal adaptive payment method for Paypal account verification

拈花ヽ惹草 提交于 2019-12-12 04:40:55
问题 Any one can help for Paypal adaptive payment method for Paypal account verification. When we go to live mode and generate Live APP Id it is showing error: { "responseEnvelope": { "timestamp": "2015-09-18T02:23:23.202-07:00", "ack": "Failure", "correlationId": "4321940d358d5", "build": "18018453" }, "error": [ { "errorId": "560022", "domain": "PLATFORM", "subdomain": "Application", "severity": "Error", "category": "Application", "message": "The X-PAYPAL-APPLICATION-ID header contains an