Integrating paypal standatd payment gateway issue using twig template engine php - php

Please can anyone tell me how to integrate standard paypal payment gateway in twig template engine(framework) using PHP.
Please help me. Right now i am in big trouble and even i am beginner.

The quickest and easiest thing to get basic payments working on your site would be to use PayPal Standard buttons. You can create them from within your PayPal account profile, and then it just gives you a snippet of HTML to copy/paste into your site where you'd like the button to show up.
Since you're using PHP, if you want to get a little more advanced with the payment integration you could go with PayPal Express Checkout API's instead of Standard. The documentation can be a little bit daunting, however, with the use of my PHP class library for PayPal you can handle everything very easily with nothing more than the knowledge of working with PHP array data.

Related

Use the new Express Checkout view with Adaptive Payments

I have a website that uses adaptive payments to act as the middle man between sellers and buyers, and I have been using the standard PayPal view for a while now that looks like this:
This view has always been fine for me, although it is pretty ugly.. but I've started noticing websites with checkout pages that look like this:
This checkout page looks way better, and I have searched everywhere to find out how to implement it into my adaptive payments api. Based off of what I've found it is only available on express checkouts.
Is there any way I could get my checkout page to look like this without having to rework the whole PayPal API for my site?
Unfortunately, as of now, the checkout experience you're seeing with Adaptive is all you're going to get. The Express Checkout experience is indeed much better, and it always has been. I've always recommended to stick with EC as much as possible.
There's really nothing you can do in Adaptive that you can't do in EC, it's just a different series of steps to get it done.

Billdesk payment integrations in php

I am trying to find ways to integrate bill desk payment in php , but i am not able to find
any code snippet in php , However there are no any clues for sandbox environment in billdesk
Can any one please give me right steps to integrate billdesk with php?
The bank itself would be expected to provide such tutorials.
If you can't find any on their site, then it's unlikely that you'll find them elsewhere unless it's a bank that's already very widely used for online transaction processing. Call them and ask them what help they can provide. Banks I've worked with have always been very happy to help.
Rather than just integrating into your website, it can be helpful to use an existing, popular shopping cart system e.g. Ubercart, which will have a lot of the code you need already in place and will have examples of where similar plugins has been done with other banks, e.g. here.

PayPal API Website integration with or without CURL

PayPals documentation is quite confusing:
I need to integrate PayPal API into my website so the customer can pay for a final sum. And im using the sandbox for testing.
Now, technically, i found two different methods of integrating the API:
Without curl - using header('location', $urlwithvars)
With curl https://developer.paypal.com/docs/classic/express-checkout/gs_expresscheckout/
Now what confuses me - is curl only used because you can do a POST call to the paypal server? Because using the first option i also get directed to the paypal procedure and get the JSON response successfully on my notification url.
Im using following library: https://github.com/jersonandyworks/Paypal-Library-by-RomyBlack
Is that enough or should i use the complete curl process like here http://www.sanwebe.com/2012/07/paypal-expresscheckout-with-php
So basically the main question: DO i have to use curl process or is the header-location-url idea enough?
Thanks in advance
That library you're using is actually just using Payments Standard, not Express Checkout. That may be where part of your confusion comes from. This isn't even hitting the actual API's. Not sure if you care about that or not, but I personally prefer the full Express Checkout API as it provides a lot more options and freedom to integrate however you want.
I'd recommend you take a look at my PHP Class library for PayPal, which has all of the actual API's built in. I have a CodeIgniter specific version of it, too. It will do all the API work for you and you can integrate pretty much all of their calls within minutes.

Sagepay payment gateway integration for Eshop (Wordpress)

I have a site which is using the Eshop plugin for Wordpress.
My client requires to take payments using Sagepay, this options is not available to set within the plugin.
I cannot seem to find any extension plugins to enable this feature, I would write my own but do not know much PHP.
I have found a 'template' for custom payment gateways which Eshop have provided. Is it possible to use this to extend Eshop to use Sagepay? Alternatively do you know of a plugin for this?
Note: I understand this may be off topic, but I would not ask if I was not in real need. Thanks in advance.
Which integration is your customer willing to use? The easier to integrate is FORM but you have DIRECT and SERVER as well.
Regards,
Pablo

paypal integration in php

First time I am starting to implement the paypal integration. Please tell me how to write code for a payment gateway(paypal) in php and it will be better if you will show a good demo from where I can get some ideas.
There are several sources on the net where you can find detailed information regarding paypal integration (with php). Here is one to be named:
Paypal

Categories