paypal integration with express checkout and onsite - asp.net

Im trying to integrate Paypal express checkout(offsite) and payflow(onsite) to our payment page.
I have successfully integrated paypal express checkout button using the NVP and SOAP API and everything works fine.
I have also started the integration for payflow (old XML API) as an option as well.
My question is how do I allow customers to have 2 options in the order form that goes to the same merchant account?
Currently its a tab(moving to a radio button) to display the payment options.
If credit card is selected, it will show a credit card form onsite and send the request.
If paypal, it will show the paypal button and redirect it to paypal and process the transaction.
If I have my sandbox paypal account (with its API key), could I use the same account for the payflow request so the money goes in the same account? or do I to signup up?
If there is any examples, that would help.

Could you try exploring the "Payflow Link" product provided by PayPal which would enable you to show both the Express Checkout and Credit Card option in the same page. Examples are available in the below documentation.
Here is the Developer Documentation for Payflow Link

Related

Do I need Paypal Pro to accept credit cards on my ecommerce store?

I've recently tested sandbox on paypal. But I have to have Paypal Pro enabled to complete my transaction. According to information provided to paypal, the standard account should accept credit card.
(https://www.paypal.com/ca/webapps/mpp/compare-business-products)
So do I need to purchase Paypal pro to accept credit card or was this only required in sandbox?
Thanks
No, you do not. The basic, free account is enough. The Pro accounts simply come with premium features, like being able to process transactions without your customers needing to leave your website. The basic account redirects them to Paypal long enough to complete the checkout before redirecting back to your site.

WooCommerce IPN Notification

I need some help typing to figure out what im doing wrong.
My site is setup to manage orders using WooCommerce. the site is a public site, but my Perl Script needs to be implemented as im testing a few things out and displaying some messages. The public site is called 'publicwebsite.com'. But the other site im displaying all this information and proccess it is called 'mywebsite.com'
I have setup my API credentials and setup my IPN for paypal payment. To direct the IPN to my website i have gone into the 'My Selling Tools' on the sandbox side of Paypal, and set the IPN to http://mywebsite.com/test_pl.html
when i place and order, somehow the IPN is not being directed to the URL. I went to the IPN tabe again on the Paypal side, and clicked on history, and i see that the 'Notification URL' is still set to http://publicwebsite.com/WC_Gateway_Paypal, whereas it should have been http://mywebsite.com/test_pl.html.
I cannot seem to find the place where i can change the preferences such that Woocommerce pushes the information onto the site.
Please Help.
Thanks in advance
WooCommerce will set the IPN location of each transaction so that it can be notified when an item is paid for and continue its process.
Not knowing your data flow, I would suggest looking into woocommerce available hooks and hook into the IPN notification and then send the data (and user) to your perl script.
This way you satisfy WooCommerce's condition that it needs to know about payments, and you satisfy your need to have your perl script called so that it can do additional processing.
One possible solution is to update your IPN settings in your PayPal Account. If you have a standard PayPal account here are the instructions directly from PayPal Documentation:
Go to the PayPal website and log in to your account.
Click Profile at the top of the page.
Click My selling tools.
Click Update beside "Instant payment notifications" in the "Getting paid and managing risk" section.
Enter the notification URL and select "Receive IPN messages."
Click Save.
Just in case you need it below is the PayPal Instant Payment Notification Guide. It includes an IPN simulator.
PayPal Instant Payment Notification Integration Information

Paypal Pro integration without any round trip to paypal website using paypal account

I want to do paypal integration with my website such as we can do all payment with paypal account without going on paypal website.
and i want to do login for user to payment from own website not from paypal website. and finally pay should also from own website.
in all these process i just want to use paypal account not credit card and debit card.
Can any one provide me solutions or source code in asp.net ?
If you are asking if you can keep the buyer on your site, and allow them to set up a recurring payment with their PayPal account without sending them over to PayPal, the answer is NO. If you are asking if you can redirect the buyer over to PayPal and have them set up a recurring payment, the answer is YES.

Pay through Paypal using a credit card

I have a requirement of integrating paypal in one of my asp.net website.
But I need to have a facility that One could pay through Paypal by using a credit card even if they don't have a paypal account. For credit cards, I don't have any idea of how can it be done through paypal development portal.
So can anybody let me know how to go about this and any reference link where I can find some details for this.?
I think one of the option I should go with is: PayPal Website Payments Pro but I have no idea about that and Is it a free service or a paid one.?
Thanks in advance.
PayPal Payments Pro does allow you to process credit card transactions using the Direct Payment API's. That product is currently available to US, UK, and Canadian merchants. The REST credit card process mentioned is only for US merchants at the moment.
Payments Pro isn't free. There a $30 a month fee.
Payments Standard and Express Checkout are both free and don't require that your buyers have a PayPal account but they are required to redirect to the PayPal site to log into their account or enter their credit card information.
If you have a more specific question I can help you further.
You can make credit card payments via the new PayPal REST API. Depending on your use case check the documentation for sale (directly charging a card), or authorize and capture. You also have the option of storing cards in the vault for later use.
I do not know whether you have gone through the Paypal developer's FAQ. Please go through this link once-
https://developer.paypal.com/webapps/developer/support/faq
Ideally to integrate paypal to a development site, A business account needs to be created.So when the user clicks on the pay now button on your site you send that userId and password to Paypal webservice and authenticate yourself as business user. it redirects to teh paypal site after authentication. So even if the user does not have an account with paypal they can pay using paypal(Which authenticates your site).
All the paypal integration is paid service.

How do I link PayPay Standard on Website to PayPal Account?

I have Cube Cart V5 installed and have activated PayPal Standard as payment method. On a test sale, the PayPal screen comes up and asks 1) Login to your PayPal Account, 2) Use your credit card. How do I link this to my PayPal account so that purchases are registered to my PayPal account?
I am not familiar with Cube Cart but in the most basic way as a paypal merchant you are issued a merchant username and password that represents you and in your management tools for your cart you can cut and paste those values in there that will take care of transactions.
When a payment is initialized it is normally passes values through a URL string. Your merchant information will be in that string so it can match up to an account to receive money.
Paypal has integration documentation, but the people that support the Cart should be able to help you more efficiently. See if they have a forum if you don't get direct support.
I'm not sure what you're asking. Paypal works this way, by connecting you directly to paypal and allowing you to sign in and make your payment on their website. When your customer makes a payment, the money goes into your paypal account which you entered into cube during the setup process.
If you prefer to use paypal's api key, you can learn more about it at this link: https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECAPICredentials/

Resources