I am using the DoDirectPayment and DoCapture paypal API(s) to authorize and capture the Credit Card Payments via Paypal. But the Problem is that I am not getting any notification in Sandbox when the payment is authorized and captured. I get the Notifications only when the PaymentAction = 'Sale' but the notifications are not coming when PaymentAction = 'Authorization'.
Related
Is there an option in Paypal Masspay to get notifications about transactions like IPN response through API URL, and not from the Paypal account.
I am building a PayPal Express Checkout integration where buyer can send payments to sellers, so I specify the recipient not as myself but as
SUBJECT=seller#domain.com
It works and according to notifications in the sandbox, the payments are received. But when I try to do a GetExpressCheckoutDetails it shows the following error:
Express Checkout token was issued for a merchant account other than yours.
Is that normal? Is there any way around it so that I can still get the details? Or should I be notified with IPN instead.
i am using Paypal manager for the payment i successfully done with credit card payment with recurring payment profile from my website using PayPal manager. but now i want do recurring payment with express checkout using Paypal manager with recurring payment. i am able to do simple direct payment with express checkout using PayPal manager. i found some solution from google that we need to pass two variable
L_BILLINGAGREEMENTDESCRIPTION0 = "Your descriptor"
L_BILLINGTYPE0 = "RecurringPayments"
But i am not able to do recurring payment. I am not getting any error. but my payment have done simple payment not recurring.
Thanks in advance..
There are two things with Express Checkout. First you need to let know the whole process that you will also create some recurring payment profiles.
For that you set BillingType as RecurringPayments when you do doExpressCheckout request.
You will get the Token from paypal and later when user will be back on your site to confirm payment after signing in to Paypal you can use this token to create recurring payment profile the same way as you have done that with credit card.
So after confirming instead of sending doExpressCheckoutPayment you send createRecurringPaymentProfile request.
Of course you can also send doExpressCheckoutPayment if you want also to do some additional payment that is not recurring.
I'm trying to integrate PayPal Classic API NVP to our website but I'm having issues with the SetExpressCheckout API call.
I'm using the useraction=commit parameter for the payer to confirm the sale directly at PayPal.
My issue is after "Pay now" is clicked, PayPal redirects to the URL I send as RETURNURL but I don't see the transaction on the sandbox account or by using TransactionSearch.
These are the parameters I send for checkout:
METHOD=SetExpressCheckout
EMAIL=payerEmail
SOLUTIONTYPE=Sole
RETURNURL=myReturnUrl
CANCELURL=myCancelUrl
PAYMENTREQUEST_0_AMT=30.00
PAYMENTREQUEST_0_ITEMAMT=30.00
PAYMENTREQUEST_0_CURRENCYCODE=USD
PAYMENTREQUEST_0_CUSTOM=myCustomId
PAYMENTREQUEST_0_PAYMENTACTION=Sale
L_PAYMENTREQUEST_0_QTY0=1
L_PAYMENTREQUEST_0_AMT0=30.00
L_PAYMENTREQUEST_0_NAME0=myProduct
After payment, PayPal redirects to
myReturnUrl?token={Token}&PayerID={PayerId}
It's normal. The transaction is set, but you need to complete it using the DoExpressCheckoutPayment api operation.
More information and an example here: https://devtools-paypal.com/guide/expresscheckout/dotnet?success=true&token=EC-7BD474648D4932937&PayerID=WNW7LMW2UXQJG
When I try to place a payment in the Sandbox using the Paypal Adaptive Payments API, I get a SUCCESS response from the API:
PayResponse
paymentExecStatus CREATED
ack Success
build 2050734
timestamp 2011-09-19T17%3A02%3A23.409-07%3A00
However, if the Sandbox user (payment review disabled) is a non-American, the Sandbox won't allow the payment to go all the way through and instead sends the buyer to an Error screen.
Any ideas?
Without the error you're getting it's guesswork, but I think the account you're using to receive payments likely doesn't payments accept in the currency you're sending it in. Either change this setting in the Profile (Payment Receiving Preferences or Website Payments Preferences) or open a balance in that specific currency.