Paypal send money from website - paypal

on paypals page, you can click on 'send money' enter the email address and $$amount and hit send... and then paypal asks for login etc...
what I want to know, is there a way, I can essentially submit that form with the email address and $$ already populated
something like paypal.com/sendmoney?to_email=xyz#xyz.com&&amount=25.00
I want to be able to provide my users with a link that already contains the info so they dont have to click the link and then fill in the details when they get to the page..

You can't do that directly with the PayPal page, but you could build your own version of that page using the Adaptive Payments API, specifically Pay.

Related

Need help regarding IPN and paypal payment page

I'm working on a website where the users can create listings like in a regular classifieds website.
My concern is that if a user wants to feature his listing on the website, he has to make a payment via Paypal (IPN). The problem is that when the user completes the payment, the paypal payment confirmation page will give the user 2 links at the bottom of the confirmation page. The first one is "return to your website" and the second one is "view your paypal account".
If the user clicks the first link it will trigger the featured option and make his listing featured. However if he clicks the second link the user will be sent to his paypal account and will not trigger the featured option.
My concern is that users who will click the second link will pay however will not get the service they paid for. This portion of the website was done by my developer and he said that it would only work if the user clicks the "return on your website" link.
Would you guys have any suggestions or help on how to resolve this? If Paypal did not show the second link it would resolve this pb.
That's what IPN is for. If you enable it, PayPal will send you a payment notification. You should enable the feature for the user when you get the money, regardless of what the user navigates to.

Paypal subscription flow

I need some clarification about the best way to combine paypal subscription in my website registration flow.
The steps for registration:
user chose a price plan by clicking on paypal subscribe button
the use complete payment on paypal form
the user return back to my site to fill registration form.
How can I be sure that the user that fill the site registration form payed for the subscription on paypal and didn't got directly to the registration page?
How can I know on which subscription button the user clicked and how much he paid?
Is there any tutorial that describes such a scenario and which api call I should do?
The smart subscription button has an on approval type of action with the subscriptionId. Use this to send to the backend (or your cloud hosted function) and it will do the follow:
check that its valid
use that paypal email and check that no user with that email exists
use that email to create a new account (add to auth and database with the subscriptionId, planId, paypalId, paypalEmail (incase they change away from this), name, etc.)
send that user a password change email / welcome email
respond with success and kick them to the success page which tells them to check their email and spam
Note: for paid-only accounts make sure you don't have an auth sign up page, only a paypal button subscribe page as the sign up page.

Edit Paypal's Return to Merchant link

I'm using Woocommerce with PayPal Standard as my shopping cart on a WordPress site. When a user purchases through PayPal, there is a 'Return to Merchant' link that the user has to click in order to get back to my website. It currently has my PayPal email address as the link, which is very confusing, as a user wouldn't think to click "Return to [email address]" in order to get back to a website. How can I make that link text the 'name of my website' instead of my email address?
I have "Auto Return" turned on with a web page specified in my PayPal Website Payment Preferences. However, it doesn't seem to auto return, leaving me with this merchant return link that isn't intuitive to click. I'm using the Sandbox to test the payment process...don't know if that makes a difference to this problem.
I'm assuming that the settings to change this link text are in PayPal and not in WooCommerce (couldn't find anything at all like that in my WooCommerce settings). If it is a WooCommerce issue, I will post on the appropriate forum. Thought I'd try PayPal first. Thanks.
Unfortunately there is no setting to alter the return link on the hosted page.
One of the limitations of the auto return feature is that if both the "auto return" and "account optional" features are turned on, customers who don't log in to PayPal can choose to go back to your website after checkout (using the link), but aren’t returned automatically.
You can navigate to either of these features on the "Website Preferences" page and click "Learn More" to confirm this.
In sandbox mode it seams to display your email address. Turning off sandbox mode you should see your business name now.

Choosing which PayPal checkout form to use

We send people to PayPal to either donate or subscribe to our site.
We have guest access enabled, when you start a fresh session and navigate to our donate page and click the button, you get a nice 'guest' checkout page.
But, if you log in to PayPal and then logout again, you don't get this form on your next donate, you get the 'login' form.
I'd like to be able to force all users to the Guest form if possible. I know that there are a bunch of features not available to us lowly 'donate button' users (as opposed to Express Checkout and the like) but surely I could pass a param that forced the Guest form?
Answering my own question here.
Can you force PayPal Payments Standard API to show credit card fields first?
Is it possible to have PayPal standard expand the 'Guest Payments' tab by default?
Its all based on the PayPal cookie and there's nothing that allows you to override that.
EDIT This has been confirmed by PayPal support.
If there is a cookie, or if you provide an email like WooCommerce does by default PayPal will assume you have an account. See my answer in Paypal Payment Standard default enter card details

Paypal Payment Gateway without shopping cart

I need guidelines to integrate paypal payment gatway. Here is my requirement
User would click on pay button on my website to open paypal payment gateway page.
User may not have a paypal account. He/she need to enter details of credit card only. (It should not force user to login)
User will enter what amount he want to pay?
I do not need any response or confirmation from gateway. I would see details of transaction in my email.
1.User would click on pay button on my website to open paypal payment gateway
page.
Create payment buttons using our button creation tool. Learn how
2.User may not have a paypal account. He/she need to enter details of credit
card only. (It should not force user
to login)
AFAIK this is not possible. User should have paypal account and one of the main advantage of using paypal is that users need not reveal the credit card details.
3.User will enter what amount he want to pay?
Similar to Donations button from paypal
4.I do not need any response or confirmation from gateway. I would see
details of transaction in my email
What email??? If you dont need the result then how will you know that the payment was successful or not???
What you are trying to do above is not possible. If You are using other paid payment gateway providers then you will be able to solve issue 2. Other than I dont think what you ask is possible.