Paypal AJAX combination - ajax

I'm developing an online shop for non-digital goods completely in AJAX. Is there any chance to have a Paypal checkout without having to leave the current page? I've found a way to use a lightbox, but as far as it seems to me you can just use it for digital goods.
Is there any other way to do that?
Thanks a lot.

The other option you have out there is PayPal Payments Advanced, Layout C, which allows you to further customize the payment page that is embedded in an iFrame on your website.
Below is a reference to another question on stack that referenced buyers staying on the seller's website:
Stack Question with PayPal Advanced Information
Here is the PayPal Payments Advanced Integration Guide:
PayPal Payments Advanced Integration Guide

Related

How can we implement future or split payment using Braintree?

We are working on one website solution for which we require to implement future and/or split payment using the Braintree payment gateway. Is it any possible solution for the same? How can it be implemented?
We also tried to create sub-merchant for splitting a payment but we are getting the following error.
"Master merchant account ID is invalid.".
Any help would be appreciated.
Thanks
Braintree does not offer a marketplace/split-payment function. You would only be able to apply for/use Braintree Direct and any funds would go directly to your bank account. There is no ability to have sub-merchants.
Similarly, PayPal has deprecated their original split-payment/pay-forwarding solution.
I suggest you go with PayPal Marketplace.
PayPal Marketplace is an entirely separate solution and you would need to speak with the PayPal team for specific details.

Magento marketplace with vendor payment

I'm using marketplace extension from magentoconnect in my store. This extension is really good and works exactly what i needed it to do but there is 1 particular requirement I need which it doesn't provide.
For vendors, I want payments of each product sale to go directly to vendor's account ( through their credit card etc which they need to add before their product becomes visible ) and commission amount ( some percentage which is set by marketplace through admin panel ) to go to site owner's account. I know there is paypal adaptive payment add-on available with this extension but I don't want to use paypal due to some reasons.
I have tried to create my own module which will gather vendor's payment method after their login and will verify it if their credentials are working or not. But i'm confused as to which approach should i use to get their order payment to go directly in vendor's account and commission in site owner's account right away.
Also, i want to use authorize.net to charge clients as stripe does not support a lot of countries.
Any help in right direction is very much appreciated. I need a solution as to how i can implement it. I can customize or create my own module if needed be for this particular case, but i need to know which is a better approach or what will be close to magento way of doing stuff.
Sorry for my bad english.
Thanks In Advance
Ab.M
Hi Regarding Paypal adaptive payment this thread will help https://www.paypal-community.com/t5/About-Payments/Adaptive-Payments-for-Magento-marketplace/td-p/968101
as authorize.net does not provide marketplace api like stripe or paypal provides so it wouldnt be possible in this way .
PS - we are not self promoting our plugin or product , as user asked the questions specifically about our product that why i have added extension link with images and screenshot

Google Analytics Issue for Magento to PayPal

So, having discovered that customers are not returning to our website after making their PayPal payments, our Google Analytics reports are wonky as the landing page (success.phtml) which generates the order completion history/goal is never achieved.
Is there a PayPal APi callback to Magento which can generate the correct Google Analytics data? Is there a way to generate GA code at the PayPal end?
Any pointers appreciated!
Thanks, Joe.
a better question for you is why are your customers not reaching the success.phtml?
Go to Website Payments under Profile on the PayPal website. Setup your return URL and enter the succes url there...
If your customers don't return because they close their browser before returning to the shop:
You could remove the script from success.phtml and add a serverside-call to GA using something like serversidegoogleanalytics but you'll have to implement this for all paymentmethods you are accepting... This serversidecall would be done in the success-action within the controller of the paypal module

Google checkout integration - didn't find on docs/guides/Google

When I sent a POST to Google checkout API, the return XML (or HTML) auto redirects the user to Google to complete the checkout.
I understand pci compliance and why this is needed, but is there a way to submit the user's info in the background so they don't have to leave my site to checkout? if so, how?
No, there's no way to do that with Google Checkout.
Check out stripe.com - similar pricing, but much easier integration! I just started using them and it's been a breeze.
If you are selling digital or virtual goods cosider Google In-App Payments which integrates nicely with your site and offers an in-app purchase experience for the user.
http://www.google.com/payments/payment-options/digital-goods.html

Guidance related to Paypal Integration Using Codeigniter

I need some guidance related to PayPal Integration. It's not similar to a regular cart.
After checkout, the site offers a form for payment option. Either it's PayPal, or some other payment process. The form directs to controller after the user submits. An array exists, which contains all item values.
From here on how can I proceed to the Paypal site?
Just to let you know that we've just open-sourced our replacement CodeIgniter PayPal library, called codeigniter-paypal-ipn. (We use this library in production.)
It performs more validation than PayPal_Lib, and it also saves the orders down to your database (using either CI active record or Doctrine).
I hope you find it useful!
There is an existing library for integration with Paypal using CodeIgniter:
http://codeigniter.com/wiki/PayPal_Lib/
I asked the same kind of question here.
And http://www.phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/ is good resource.
Please have a look.

Resources