Customize Paypal checkout page - php

using PHP REST API SDK, is there a way to customize the first PayPal page that appears (login page) when doing a Payment. Specifically, we would like to move "Pay with Debit or Credit Card" above and make larger than "Pay with Paypal".

It is not possible to edit any portion of the hosted secure checkout page of PayPal standard or PayPal Express Checkout. The only change you 'can' make is add a logo or header image that populates and replaces the business name or email to the account.
Hope this helps

Related

Paypal getting option payment through credit card(PHP)

Hi i am getting two options while integrating the paypal with my PHP code
1. Pay via paypal
2. Create a paypal account
Whereas i Need an option Of
Payment through Debit/Credit Card
How can i get that,,
i reffer to thisThis Link But unable to find the paypal profile and more options option, Can anyone help me
The only way to force Guest Checkout (which is what PayPal calls it when somebody uses a credit card from their checkout pages without signing in to a PayPal account) is to use the Express Checkout APIs.
This will allow you to set parameters that provide the Guest Checkout experience in all instances where it's available. Keep in mind that even with this configured correctly, Guest Checkout is simply not available for all buyers in all countries, so you still won't get it for 100% of your customers if you're selling world wide.
Guest Checkout is available in PayPal Standard Payments, too, but it's cookie based, so it's very unreliable. If the browser in use has ever had anybody sign in to a PayPal account then it will assume the current user will be signing in, too, and it will not prominently display the Guest Checkout option. This is what you are able to avoid by using the Express Checkout APIs.
This PayPal PHP SDK will make the Express Checkout calls very quick and easy for you. Specifically, you'll be working with:
SetExpressCheckout
GetExpressCheckoutDetails
DoExpressCheckoutPayment
In your SetExpressCheckout request you'll make sure to include the follow parameters:
SOLUTIONTYPE=Sole
LANDINGPAGE=Billing
USERSELECTEDFUNDINGSOURCE=CreditCard
This will ensure that the user sees the Guest Checkout experience.
Direct processing of Credit Cards is deprecated.
But people can pay without PayPal account - it's called guest payments.
Use the PayPal API and allow the optimal checkout to YES and then customers can pay either through credit card / paypal account.
https://developer.paypal.com/docs/integration/direct/payments/guest-payments/#

Is it possible to make a donation button in my website with choices? Whether Paypal or Credit Card?

I already created a donation button and tested it in sandbox and it worked, what I want to do is before the donor clicks the donate button, I want them to choose first whether Credit Card or PayPal Account, if they choose credit card, they will fill the form and redirect to PayPal. I don't want them to choose credit card at PayPal site because it is so small that it can barely seen.
It is not possible to open up the credit card field on the paypal checkout page using website Payments Standard buttons(like donations,buy now etc)But,you can automatically fill the address related fields and pass it to checkout page.
You can display the credit card tab only in express checkout using LANDINGPAGE=Billing
Let me give you an idea.
Your Question:
If they choose credit card, they will fill the form and redirect to PayPal.
Answer:
This can be done, however you will invoke SOLUTIONTYPE=SOLE and LANDINGPAGE=BILLING (this will work using PayPal buttons; I have tested this first hand)
Answer:
Technically it could be done, however it is an unsecured method of using a customers credit and sort of defeats the purpose of using PayPal as a payment method; invalidates security. If you post credit card data from your; let's say secure form, it is still vulnerable to a post sniff where hackers can steal the cc info vs. having the customer manually entering their credit card info on a hosted secure paypal page.
Note
Maybe use PayPal advanced which is $5 a month; use a secure hosted Iframe, where a customer can pay with a credit card on site with no redirect. Like: http://www.ggsalsa.com/salsa-menu.html#!/~/checkoutPD; put fake email and checkout with credit card to see.

how do i link paypal account with online store using php

I am not sure what this is called but here is what i am looking to do.
I am trying to make a php script that will create a link between our store account and paypal buyer, so that when they click our buy button it will process the payment without any future confirmations or user actions.
I have tried the paypal sdks and integration wizard no luck, Does anyone know of a working example of what i am trying to do?
Billing agreement(also called Reference Transactions) allows customer to agree the payment once on your website or app, then you call an API with the billing agreement ID to tell PayPal to charge the customer. Please see document here . You will need to contact PayPal to enable you to use Billing agreement, it's not easy to get approval:(
Integrating Paypal buttons are pretty straightforward.
Go to your merchant account.
Go to your Create Paypal Button page.
Choose whatever the button types you want. Configure it with Price etc.
Now just copy and paste the code generated.
It just works.
P.S
There is an option in your merchant account page to set the returning address from Paypal. You can set a returning page and catch all the transaction details via HTTP Post method when it is called by Paypal.
There is this Sandbox account type in Paypal which you can do a lot of playing with.

PayPal payment with credit cards

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 subscription button

Background
I'm building a website where I need to use some sort of recurring billing payment method. My client does not have Paypal's Website Payments Pro so he decided to use a simple Subscribe button.
Problem
This is all nice and easy to use but how would I get a notification from Paypal when such a payment has been made? I had some experience with Paypal before and there was a field return_url that would be accessed by Paypal to notify the website but checking the variables on their site this field does not exist anymore or perhaps not available with this type of button.
when you create subscribe button that time you will find that option(in step 3) , so according your need you can set url and get ipn variable
Step 3: Customize advanced features (optional)
Take customers to this URL when they cancel their checkout
http://yourwebsite/complete_registration.php?action=cancel&sts=0
Take customers to this URL when they finish checkout
http://yourwebsite/complete_registration.php
Advanced variables
notify_url=http://yourwebsite/complete_registration.php
i hope it help you

Categories