Paypal sandbox transaction id is not equal in payer and payee account - paypal

Hello I have implemented smart button integration in my angular application and made the one time payment successfully using ngx paypal library. I am stuck in verifying the transaction in both payer and payee sandbox account are not the same, will both will be different or same?

For all PayPal transactions, the Transaction ID in the sender and receiver accounts will be different.
Each account has its own Transaction ID.

Related

Unable to Make Payment via PayPal api into flutter app

We have developed a flutter app (online doctor appointments) and integrated the PayPal payment method into the mobile application. This app is not live yet but we are testing it into production mode and when as a customer, I am going to make the payment the payment not deducted from my account and I have received the email from PayPal support(subject: Your payment to Doc Domi couldn't be sent). As a Product owner unable to receive the payment from the customer's end. Even the customer gets the OTP for the final transaction and once he enters the OTP the payment is successfully done but the amount was not deducted from customer's account.
here is the response that we got it:
PayPal response is {name: COMPLIANCE_VIOLATION, message: Transaction is declined due to compliance violation., information_link: https://developer.paypal.com/docs/api/payments/v1/#error-COMPLIANCE_VIOLATION, debug_id: 6caee6baf1599}
We have verified the account and linked the bank account too.
Please help me out with this issue.

Braintree - create customer with Paypal details

We are studying the feasibility of using Braintree as a payment gateway for one of our client.
One of our requirement is to create a persistent customer with specific payment method/s (paypal, credit/debit etc) using
Braintree Java API.
This registered customer account will then be debited and amount transferred to the client's account as and when need arises.
We have following queries.
Is there any constraint/limitation as to the country to which the customer can belong to? For example, can we create a
customer in Braintree who is a resident of India or China? Can Braintree transfer amount from a customer's account in India
to client/merchant's account in USA and vice versa?
In Braintree sandbox account we can create a new customer with credit card as a payment method. How can we
create a customer with Paypal as a payment method in sandbox?
I have gone through the Braintree Customer.create() Java API. Using Customer.create() API we can create a new customer
with credit card details. But how can we create a new customer with Paypal details using API call? Where can we provide customer's
Paypal account details while calling Customer.create()?
Once customer is created and payment method details verified by customer can subsequent amount transfers from customer to
client/merchant's account happen without customer have to authorize each transaction?
Thanks.
I try to answer your questions but I'm not Braintree ninja.
I think yes but there would be some charges on top of normal fees (known as currency conversion charges).
You can't create paypal as payment method in sandbox (I don't know the reason) but you can in production account.
When users choose Paypal as payment, after successful authentication a token is returned that you can save in database for future transactions (without authentication).
I didn't get your last question, let me answer what I understood(I guess you mean authentication again or providing details again). If customer agrees to have payment method vaulted then no, they won't have to authorize transactions in future as long as they don't cancel their payment method.
Update: Forgot to answer the first part of your question No. 1, as per their FAQs Braintree accepts payments from almost everywhere.

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

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 paypal fee's which are incorrect. My client wants to use adaptive payments but that isn't going to work since they require the seller to be the primary receiver and the merchant service be the secondary but for out desired flow that won't work. What other option do I have?
From the description you provide, the best approach is to use Adaptive Payment Delayed Chained Payment. The buyer will make a payment for the item and the seller will directly receive the amount. You can specify the merchant services to be the secondary receiver but when using the Delayed Chained Payment, primary receiver (seller) will always get the payment first and using the Pay API, secondary receiver (merchant services) will get their portion. If you required the seller to be the last person to receive the money then they (seller) should be the secondary receiver.

No paypal account for a secondary receiver in a Paypal Adaptive Transaction

What happens in the case the secondary receiver in my transaction doesn't have a Paypal account.
Will he receive a notification asking him to create a Paypal account, or will the API call not succeed?
I have little way to know if the user selling services has got a Paypal account when he registers to my platform.
Also, does it have to be a Business account in order to receive money, or can it be a personal account?
Freelancer mostly will be using this on a one-time basis.
Thanks a lot.
The application owner must have a PayPal Business account. Senders and (secondary) receivers are not
required to have PayPal accounts initially. PayPal prompts a sender to create
an account before a payment can be completed. A receiver must create an
account to receive the funds after the payment completes.
Also, GetVerifiedStatus API will help you determine what type of account the user has and if it is verified or not.

Paying automatically from PayPal

I need to know if the following scenario can be developed.
I have a website where the mode of payment is pay-by-usage. So when the customer exceeds a particular amount, I need to charge his PayPal account automatically. Is this possible in the PayPal API?
You can use PayPal Adaptive payment and there is an option to charge user account automatically. It is called PayPal Pre Approval payment.
In the first phase the user has to authorize your app to perform payment onbehalf of user. During this authorization step, you will get and authorize pre approval key. Later you could automatically charge user PayPal account using this key.