I'm finding PayPal to be very fragmented for developers since the recent updates and re-designs they've done.
I can't seem to work out how to create PayPal Test Buttons. I've made real ones, but that's it.
I get thrown into the classic PayPal site after logging in to my Sandbox Business account, but most of the links bring me back to the regular PayPal where my actual account is logged in. So I can't get to the test button page.
I am either missing something big or PayPal have a few issues to sort out.
Edit:
I've tried logging into the PayPal Sandbox, and following the documentation listed on developer.paypal.com -> documentation -> payment buttons -> test payment buttons.
Under test procedures, I get stuck at 4.2: "In the Related Items box on the right, click the Create new button link.".
This option does not exist.
Here is the steps which I usually perform to create sandbox buttons.
Login to PayPal developer
Navigate to accounts section
Create a business account
Login to sandbox account using that account details
Create button as like you did in real account. Profile -> My Selling Tools -> PayPal buttons.
I hope this helps.
Related
I have website on which I want to sell subscriptions. Here is the scenario:
In the pricing tables there is button purchase. When user click on the button I am sending him to the form where he can enter his details (name, email, password) . When visitor click on the submit button his account is created and I want to redirect him to the pay-pal page, where the user can make the payment.
Can anyone point me to some article on pay-pal page where I can read instructions how can I do that, and which model/api/gateway/whatever I should use for that? I know how to create subscription buttons, but using them doesn't seem to fit in my scenario-flow. Please note that I need help to FIND information how this can be done, I will find my way with the coding.
PayPal supports multiple ways to sell subscriptions.
You can use one of these depending on type of complexity you can handle and features you want:
PayPal WPS Subscription Buttons
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#recurring-payment-variables
This is a button integration, you can specify your subscription terms and PayPal will take care of making recurring payments. You can also maintain inventory, profile & loss tracking. This will require very less coding effort from your end.
API Integration: https://developer.paypal.com/docs/integration/direct/billing-plans-and-agreements/
This is an API integration: Here you need to create a Plan and redirect the buyer to paypal to get buyer's approval. Then you can do recurring payments via API calls. You will need to maintain a secure database of approval ids, buyer details and the agreement details. Also you will need a daemon which should call PayPal apis on subscription dates.
You can also refer to this guide to get more info on different flows supported by paypal: https://developer.paypal.com/docs/directory/
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.
I am currently developing a site for users to donate money to the respective NGO. The % of payment(which will be assigned by admin) will go to the paypal ID of the respective user and the other part will go to the other user.
How can I customise adaptive payment to code this function in the front end??
Paypal Adopative payment process is very simple. First you need to register with developer account. Then you need to create one demo application on paypal website. Use UserId, password and demo paypal appId(APP-80W284485P519543T) in you code.
Set your return, cancel and IPN url.
Here is the flow.
let me know if you want any more help.
Click here to see more information
I am using paypal payment system for users subscription on monthly basis. All the things and flow working perfect. I need to know when user click on button and navigate to paypal site its show only pay with you paypal account or create account (pay with credit card) as shown figure
I didn't see image like credit card option as shown in figure below.
I'm using Digital Goods Example find on this link
https://github.com/thenbrent/paypal-digital-goods
In this example its uses SetExpressCheckout method and recurring user profile.
Its their any option or setting to enable in paypal business profile or paypal api to do that credit card payment option for users.
You have to have a Premier or Business account with PayPal before the option for credit card payment will show up.
If you already have a Premier or Business account, you probably have the relevant setting turned off. Go to Profile -> Selling Preferences -> Website Payment Preferences and look for "PayPal Account Optional." Make sure that box is checked.
If you can't find the box, click through lots of links for a while. PayPal enjoys rearranging their website a lot.
P.S.: If you are using Sandbox mode, it won't show up. You have to be using the real Express Checkout.
It works fine if you add these parameters when you call setExpressCheckout method:
SOLUTIONTYPE ="Sole"
Note: PayPal Account Optional should ON at sellers account.
After successful Sandbox testing for Website Payments Standard, I'm going live now. When I click on a "Buy Now" button, I should be able to see a page that shows me the total quantity on the left, and allows me to log in using PayPal on the right.
But I just get the following page, which also says "Test Site" at the top, although I'm no longer referring to the sandbox:
The error is: Paypal cannot process this transaction because of a problem with the seller's website.
I've done the following things:
Made sure I've changed the API endpoints to live production (basically, eliminate "sandbox" from the URLs.
Made sure I'm using the seller API crendentials from my seller account (not sandbox test API).
I'm using an IPN listener and have set $listener->user_sandbox to false (although I don't think the listener is even loaded yet at this stage).
By the way, if it matters, I'm using PayPal's ButtonManagerAPI to dynamically create hosted buttons, and I'm using NVP API calls with PHP. Everything worked as expected in the sandbox. This was my relevant API code:
"METHOD=$methodName_&VERSION=$version&PWD=$API_Password&USER=$API_UserName&SIGNATURE=$API_Signature&BUTTONCODE=HOSTED&BUTTONTYPE=BUYNOW&L_BUTTONVAR1=amount=".$usd_total
I tested your API request against my account and it is working correctly. It correctly generates a button, and then I am able to go through with a buyer account and make a purchase, so it looks like the issue is with the account you are using to generate the button. Can you provide either the test sandbox email, or the merchant id for the account that you generated the test sandbox credentials from so that I can take a look at the account and see what the issue may be?
I was getting the same error message until I removed the ng-model reference (angularJS) in the button html code.
I was actually getting this issue from simply not having the correct product ID in the form. Once I updated that it worked for me.
Hope this helps!