how to integrate payment gateway with website created in wordpress? - php

I want to integrate a payment gateway with Soho Hotel Theme using wordpress.
How can I achieve this?

You would likely want to integrate it as a WordPress plugin: http://codex.wordpress.org/Writing_a_Plugin This way you're extending the functionality without modifying the core. You could also potentially create custom page templates in your theme to integrate the gateway.
That said, the gateway is only part of the equation. Generally there's a cart or at least a purchase button on a page to place an order. Any third party cart should already have options to use gateways thus negating the need for you to build your own gateway integration. You need something that will collect the data and submit it to the gateway. If you haven't already solved that portion of the equation, solve that first.

If you're starting off with an e-commerce plugin like WooCommerce - they have an API that you can use to get started. Thanks!

Related

Send orders from OpenCart to WooCommerce

I am having very specific task that needs to be implemented. I have to import specific orders from one OpenCart shop to another WooCommerce shop. The reason we're doing this is because in the woocommerce shop there are some functionalities that we don't want to implement on the OC and we just want to use the WooCommerce.
One of the options i thought about was to get the orders from the database directly / they are using the same server so that's easy to access /, but I run into an issue trying to pass the Shipping method ( because it comes from the checkout and shows a form in the backend that we need ).
So I am thinking of another way to simulate the process through the WooCommerce REST API, but I am not sure from where to start.. Have someone worked on similar thing, I would appreciate if I get some guidance.
Thanks in advance!!

how to Add new payment gateway like First data payment in paid membership pro plugin of wordpress?

I want to add first data payment gateway in paid membership pro plugin of wordpress.
I researched following site:-
http://www.paidmembershipspro.com/2013/04/adding-a-new-payment-gateway-option-to-paid-memberships-pro/
it says that "Create a new plugin to house your gateway addon." but how to create it and where to create it..
please explian me in brief...
thanks in advance.
This is an answer from Kimberly Coleman a Co-founder of the PMP plugin :
The core Paid Memberships Pro plugin should not be modified. Your
gateway should be a separate plugin in its own folder in the
wp-content/plugins folder of your site. Note that the way gateways are
integrated with Paid Memberships Pro is being revamped with v1.8 – to
be released soon. This will make the process of adding gateways a bit
simpler / more modular.
Since the 1.8 version came out a while back, the documentation for adding a gateway to Paid Memberships Pro has also been updated. There's a skeleton example gateway you can build from as well, and I've always found the forum-based support responsive, too.
The place to start on the PMPro site is http://www.paidmembershipspro.com/gateway/adding-a-new-gateway/ - you'll find those resources there.

customized checkout option in Opencart

Opencart payment methods are not supported to me, I have to build it in my own way. How do i customized it ? I don't have any idea of that. please someone can give me references it's fine. I trying to find. but still I could not find anything. Just want edit checkout and form submit to my own page with all the details that have in checkout .
the best reference to study is PayPal opencart payment option MVC or build with this reference EBS payment gateway its free extension study it also

Creating a Shopping Cart with Paypal

I wish to use paypal to create a shop to an existing site, however I have reached a problem.
Paypal has a facility to 'add to cart' however when clicked on, it goes to their servers.The check out has no customisability what so ever, so looks completely out of sync with my site.
Is it possible to create a shopping cart on PayPal showing the list of items on MY site (so I can customise the look and feel of the shopping cart) and then only when the payment needs to be made, the user is sent to the PayPal Site.
Thanks
NOTE: I'm using pure HTML,CSS & PHP. I am not using a CMS such as WordPress.
Also when I mean I want to customise the look and feel of the shopping cart, I don't mean just the button, but the way the items is shown up along with details such as Qty.
If you're working with basic PHP code that you built on your own (no framework like WP) then you'll need to build your own shopping cart.
If you were to use WP, though, you could use WooCommerce which is a great shopping cart system and would probably save you lots of time.

Adding item to cart via API with CS-Cart

I am building a web application which allows visitors of a site to custom-build a product, and then add that custom-built item to their shopping cart in order to purchase it. For instance, I might build a car with the following customizations:
Alloy wheels
Leather seats
Red
I've searched around looking for a solution to my problem, but have yet to come across anything very helpful. I am using CS-Cart as my shopping cart solution.
What I need to know is how I might programmatically add this custom-built item to a user's shopping cart. Does CS-Cart provide an API for doing something like this? If not, does anyone have any suggestions on how I might achieve my goal? I basically just need to add a generic "custom build" item to the user's cart with the customizations they made somehow attached to this item.
I've been taking a look at CS-Cart and this question came up.
From reading through the CS-Cart API documentation, it looks like CS-Cart's API is more of a plugin framework than an actual web service. In other words, I believe you can write code to modify CS-Cart (or programmatically update shopping cart items) but this code needs to be written as a plugin into CS-Cart rather than simply as an API call from your third-party webapp.
So I think you have two solutions:
Build a CS-Cart plugin which has a mini-API to take your custom item from your webapp and add it into the shopping cart through CS-Cart
If you literally just need to add the item into the shopping cart, and your webapp and CS-Cart are on the same server, you may be able to skirt around CS-Cart and get your webapp to literally just add the item into CS-Cart's shopping cart PHP session
I hope this helps - I'm not mega-familiar with CS-Cart so if there are any factual errors in this I apologise.

Categories