I am building a small marketplace for custom made products.
The sellers will register, enter they paypal address then
list their products for sale.
When a visitor decides to buy a product. The user will
be redirected to Paypal and the payment will be sent to
seller's PayPal address. I don't want to make users
to enable IPN, not to confuse them. Also there is no
way I can check whether a client as successfully enabled
IPN or not. So it is not an option for me.
So is there any way my website can be notified after
a successful payment that was sent to seller's paypal?
1 Client Selects Product764 of Seller Bobby192
2 Paypal form sends the money to Bobby192 paypal.
3 Client completes the payment
4 Paypal sends payment confirmation back to my website without IPN.
Thank you!
Yes, you can do this with PayPal's Adaptive Payments APIs. A highlevel overview of the options can be found here:
https://developer.paypal.com/webapps/developer/docs/classic/adaptive-payments/integration-guide/APIntro/
Related
I have a problem with integration of paypal payment. I want to make it so that customers can't register to paypal, but paypal only shows the register to paypal.
I use php library. Is it possible that they add only credit card without registration?
If you're using Payments Standard, Express Checkout, Adaptive Payments, or anything that actually redirects the user over to PayPal then it would be done with "guest checkout", which is an option on that checkout screen. In order to make that work you would need to make sure the PayPal Account Optional setting is enabled in your PayPal profile.
If you go with Payments Advanced you would imbed an iframe in your site that PayPal actually hosts, and it would have the PayPal option as well as credit card option built in to that.
Payments Pro would give you full freedom to process credit cards directly via API request, and then you wouldn't have to display any PayPal logos or show that PayPal was involved at all in that case.
I would still recommend leaving PayPal as an option for people, though.
My site is actually is a good example. Notice if you add that item to the cart you'll see the option to "Pay with a Credit Card" or "Pay with PayPal". If you choose credit card that would move to a credit card form and would be processed through Payments Pro (PayFlow). If you choose PayPal it would go through Express Checkout. So you still give people both options, but it's very straight forward for non-PayPal users.
You can send money to anyone with an email address but in order to claim the funds they would have to open a PayPal account. What happens is that you send the money to their email address, they get an email letting them know they have received funds. They are then instructed to follow the directions to open an account to receive the funds into their PayPal balance. It is a very straightforward process and a new account can be set up very quickly. Thanks for your great question and I hope you have a great day.
Paypal IPN is not working in paypal account but its working correctly in sandbox. Please help us to solve the issue.How can we test these kind of situations if it occurs
Thanks
Do notify_url setting in bussiness a/c of paypal
In addition to email notification, PayPal can send you the transaction data (also called Instant Payment Notification) to a specific url. With Instant Payment Notification, PayPal sends payment notification messages with encrypted code to the specified URL for each payment you receive. Follow the instructions below to setup Instant Payment Notification.
Go to the PayPal website and log in to your account.
Click "Profile" at the top of the page.
Click "Instant Payment Notification Preferences" in the Selling Preferences column.
Click "Edit IPN Settings."
Enter the notification URL and select "Receive IPN messages."
example: http://yoursiteurl.com
Click "Save."
I have integrated PayPal merchant account to the website , m doing it for a client
People can sign up to the website after subscribing and hence paying thru PayPal .we have recurring payments. But if people unsubscribe from the site their access to the site is closed but my issue is if people don't click the unsubscribe on the site but just cancel the recurring payment from their own PayPal accounts how would I cancel their subscription on the site.
Please suggest some PHP code or idea to cancel the subscription.
Thanks in Advance, vikas tyagi
i got it a perfect solution of my question
In addition to email notification, PayPal can send you the transaction data (also called Instant Payment Notification) to a specific url. With Instant Payment Notification, PayPal sends payment notification messages with encrypted code to the specified URL for each payment you receive. Follow the instructions below to setup Instant Payment Notification.
Go to the PayPal website and log in to your account.
Click "Profile" at the top of the page.
Click "Instant Payment Notification Preferences" in the Selling Preferences column.
Click "Edit IPN Settings."
Enter the notification URL and select "Receive IPN messages."
Click "Save."
You can send customized emails from the Instant Payment Notification data. Please see http://paypaltech.com/SG2 for sample scripts.
we can customize sample script code according our need.
Add the logic to your Paypal IPN handler, Paypal should send a notification to your server via IPN with that information.
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECRecurringPayments
Another idea could be queryiing paypal API and see if the subsscription is still active when the user logs in.
But im sure IPN handler is easier to implement
I have integrated standard paypal with one of sites and it works as follows: user selects which subscription to buy, he is redirected to paypal, paypal sends IPN response, I process it and then every X days PayPal sends a new IPN notifying site that user has been successfully charged for new subscription iteration. Now the problem is that user needs to have paypal account to sign up for such subscription.
The customer contacted PayPal and found out that it is possible to avoid having user to use their PayPal account to buy subscription when seller uses paypal pro account. Is it really so? Will I be able to gather user's card info, then send some request to PayPal API and have the subscription created. If yes, what will happen next? PayPal will be sending me IPN requests every X days notifying site that the card has been successfully charged?
Also, what is the general flow? Do I always have to gather card info and send it to paypal api or can I redirect user to paypal in a similar way as standard paypal functions?
Yes, this is possible. You would need to sign up for PayPal Website Payments Pro and Direct Payment Recurring Payments. You can then use the CreateRecurringPaymentsProfile API and specify the card details directly in a single API call.
This will create a recurring profile, which is billed every X days / months, depending on what you specified as the billing period in CreateRecurringPaymentsProfile.
Alternatively, you can also sign up for PayPal Premium Services (for the UK) or PayPal Enhanced Recurring Payments (for the US). This allows you to accept subscription payments from guest users, using the exact same integration you have at the moment, except a 'guest payment' section will be added to the PayPal checkout screen, so buyers won't be forced to create a PayPal account to sign up for your subscriptions any longer.
(Note: Enhanced Recurring Payments / Premium Services has other benefits as well, such as Installment Plans, but guest subscription payments is definitely the biggest benefit).
How or when the amount get deducted or transferred from the buyers paypal account to the shop owner's account via Virtuemart in Joomla 1.5? I created the paypal sandbox test account but doesn't seems to deduct the amount of item(s) I bought?
If there's anything unclear please let me so I can explain further.
Thanking you in advance.
Perhaps VirtueMart changes inventory only when it receives an IPN (instant payment notification) from PayPal about a successful transaction? PayPal has an IPN simulator - try using that. Also, you can login to your test business account and approve the transaction from there - this also sends an IPN back to store.