Entering paypal credentials in Braintree Control panel - paypal

My Braintree Control Panel in sandbox does not show option to enter my PayPal credentials.It just displays Accept PayPal (USA Only). Whats wrong with that?

In order to use this feature you will need to either sign up for a free PayPal Business Account or verify your PayPal Business Account.
Check out here for more information: https://support.braintreepayments.com/customer/portal/articles/1593802-paypal-setup-guide#biz
Once you verify your PayPal Business Account you should be able to enter your PayPal credentials in the control panel.

No, seems its not possible.
When you click the sandboxed PayPal button, Braintree has already created and used a fake user and the only options you have is to either Proceed with Sandbox Purchase or Cancel Sandbox Purchase. If you click the Proceed ... button the details of the user you get back are John Doe, Chicago etc (at least these results are for my sandbox).
Extra: If you want to know these values then console.log the data returned when you click on the Proceed with Sandbox Purchase button, like this:
<script type="text/javascript">
braintree.setup("CLIENT_TOKEN", "custom", {
paypal: {
container: 'paypal-container',
},
onPaymentMethodReceived: function (obj) {
console.log(obj);
}
});
</script>
Hope this helps you!

Related

Why won't paypal sandbox save my "Log in with Paypal" settings?

Does anyone know why the Paypal developer sandbox does not save when I select an additional OAuth scope?
PayPal sandbox not saving
Look at the top of the sandbox form, unhide the Return URL, type something in the Return URL. The form will now save.

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.

Cannot find paypal payment buttons creation on sandbox

I have two sandbox paypal accounts: buyer and business(seller).
Recently i added a generated html from paypal as "Buy Now" button and it seems to work great.
Now i want to add sandbox button to test the process but after logged in to my sandbox account i cannot see any option to create payment button like had in my regular account.
I already read the paypal developer docs for sandbox but i do not see the "Create paypal button" anywhere.
It sounds to me like a simple issue and i cannot figure out why it is not easy to find.
You can access the PayPal button creator/manager from the Profile settings in the sandbox account. I've also included the direct link below:
Create a new button: https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_button-designer
Manage existing saved buttons: https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_button-management
I hope this helps!
After login sandbox.paypal.com, open this link: https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_button-designer directly, you will see the create button page.

PayPal won't automatically redirect to my site after payment complete

For some reason PayPal won't redirect to my site after a payment is confirmed.
I have set auto return and set a valid url.
I have set a hidden param of return to the same url.
It just shows me a payment complete page with a link back to my site (the same url as above). If i click this then it takes me back to my site - hence I know the url is valid.
I just want this to happen automatically, which is what is supposed to happen if I set these options is it not?
Why is paypal so cumbersome? Or am I missing the blindingly obvious?
I'm using paypal standard with a business account.
Go to profile website preference page and turn on the auto return option.
Edit:
In addition to the answer posted above, to turn on the auto return option, follow the below links:
Click on Profile underneath the My Account Tab
Click on My Selling Tools on the left hand side
Select the update option next to
Website preferencesReturn customers to my website after they pay with PayPal.
Locate the option to turn on Auto Return and proceed accordingly.
N.B. Over the past weeks trying to implement PayPal, I have come to understand that Paypal have a very confusing website and documentation and very often you may find contradicting things. So please note that the set of links above may change at a moment's notice. - DottoreM
From #AlexSchimp's comment above:
If the user pays with a credit or debit card, and doesn't log into PayPal it won't work. It only works if the user logs into their PayPal account.
The "Website payment preference" auto return URL functionality will only work for the payments processed via "WPS (Website Payments Standard)" i,e PayPal HTML button integration payments.
<input type="hidden" name="return" value="http://example.com/returnurl" />
OR
Check this URL:
https://www.paypal.com/in/cgi-bin/webscr?cmd=p/mer/express_return_summary-outside.
I hope it will work for you.
Thanks
Poonam (http://www.web-technology-experts-notes.in)

How to create PayPal website payment pro sandbox account?

I was trying to make website payment pro sandbox account. I followed all instructions (from my sellers sandbox account applied for website payment pro, clicked on "save and continue" button after entering all information) but I am getting blank page from PayPal as response.
Does anyone know how to create Paypal Payments pro in Sandbox account ?
Go to https://developer.paypal.com/ and login using a valid PayPal account.
Click on 'Dashboard'
Click on 'Accounts' under the 'Sandbox' heading
Use the following values:
Country: United States
Credit card: Visa
Bank account: No
Balance: Up to you
Password: Use something easy to remember
Create the account and retrieve the API credentials by clicking on the little arrow on the left of the account. Click 'Profile' followed by 'API Acess' in the modal window that opens up.
Create a test Business account.
Navigate to the Profile page of the Business account and click the Upgrade to Pro link.
Click Enable on the resulting screen.
I.
II.
Note: Once you enable PayPal Payments Pro for a test Business account, the setting is permanent and you cannot undo the configuration for that account. You create multiple Business test accounts with various settings in order to test all the variations you might need to handle with your application.
To create a Sandbox test account:
1. Log in to the Developer site (if you dont' have and id sign up first) at https://developer.paypal.com and navigate to Applications > Sandbox Accounts.
2. Click the Create Account button and populate the following fields:
Account type: Tick either the Personal or Business radio button.
Email address: Enter a valid email address of your choosing.
The email address doesn't need to be a real email address; the Sandbox doesn't send any email outside of the Sandbox environment. Email to Sandbox accounts, generated as a result of your test API requests, are listed on both the Notifications tab on the Developer site, as well as on the Sandbox test site.
Use the assigned email value to reference this test account in your API calls, and to log in to the Sandbox site when you want to review the details associated with the account.
Password: The password must be 8-20 alpha-numeric characters in length.
First and Last names: The optional name fields accept alpha-numeric characters.
PayPal balance: While this field is optional, it's a good idea to create test accounts with positive bank balances. Enter an integer value between 1 and 5000.
Bank verified account: You should create both Verified and Unverified test accounts so you can fully test your application.
Select payment card (Personal account type only): Test payments made with different payment cards by selecting either Discover or PayPal.
Credit card type: You must select a single credit card type for each test account. The Sandbox associates a mock credit card number with the account.
Log in with PayPal (Business account type only): Tick the I want to add Log in with PayPal to my site box and complete the following fields to enable testing the Log In with PayPal functionality: Display name, Return URL, Privacy policy URL, and User agreement URL
Notes: Use the Notes field to keep track of the test account details.
3. Click Create Account after completing the account details.
The new test account is listed with your other test accounts on the Accounts page.
for more details visit: https://www.x.com/developers/paypal/documentation-tools/ug_sandbox#accounts
Login to your https://developer.paypal.com/developer/accounts/.
Click on Accounts under Sandbox.
Open Profile for the account of your business account. and click on Upgrade to Pro.
Hope this helps!