Dragon Pay Payment gateway extension for AbanteCart - php

Here is the link of developer section of Dragonpay payment gateway which shows way of integrating to the ecommerce website. But I am not getting the right way that how can I do it
http://www.dragonpay.ph/developers
I want to integrate this gateway in my Abantecart based website. If Any body could help creating extension for it or showing me the way to get it done...that will be of great help.
I want it done in php
Thanks in advance

Just copy the same files of the Cash on Delivery plugin which is already present in AbanteCart. Make Changes to XML and replace Cash On delivery with Dragonpay. Then in place of defaultcod.tpl create your own dragonpay.tpl file. Add in this file the form with your button (Pay with dragonpay button.) Now go to confirm.tpl file present in storefront>view>defaulthtml5>checkouts and add the default dragonpay php code there. Now you are through.
You have just created a dragonpay plugin for AbanteCart.
It is sort of trick , dont rely on it and suggest better answers.
For now this trick is working perfectly fine for me.

Related

Joomla PHP code

I'm new in using Joomla and i need your help please.
I'm newly working in a company. The company bought a web shop from other company and the web shop is live now.
One button in one of the pages is responsible to place an order and the action for this button is to send an email with all the data about the orders to my company.
Now my task is to develop an API which does the following:
when clicking on that button the information should be handles in certain way and sent to other system which our company have and this system is used by my company to handle the different orders.
My problem is that i can't find the php page that contains the code which is creating these orders email in order to change it.
Is there is any tool or plugin which might help or do you have any idea how to handle this situation?
Hint: I'm not able to get any support from the company who programmed the web shop
It is very hard to tell you what to do when we don't even know which Joomla e-commerce extension you are using. Nevertheless, there are things that you can do to find out which file is doing the actual processing of the order.
However, before even doing that, you will need to define what "order processing" means. Is it when the order is saved to the database? Is it when the order is approved by the payment gateway?
In the first case, you will need to look up for code saving the data to the database (which is likely in the models folder of the extension - it might also be in the controllers), in the latter case, you will need to look up for the code processing the payment (which is likely in the controllers folder or the helpers folder).
Note that some "advanced" e-commerce extensions trigger events when an order is processed that you can use in a plugin in order to do what you want.

Getting certain information from magento's mage.php file

I wonder if any of you could help?!
I've recently started a new project which requires an e-commerce system, with that being said I have installed magento and have started to play around with it.... however I am struggling to find any sort of information on using the mage.php file.
What I need really is help on the list below...
I've been looking for the code to display a product from magento on a page that is not situated within magento's platform. Can anyway point me to the code needed for this please
I'd like to incorporate the checkout/login or logout/my account links on every page even when not viewing a page located in magentos system.
I suppose basically I want to use magento to handle the product side of things but want to create my website without having to touch magento except from to call in certain functions.
Any help on this would be appreciated!
You can build the website using an easier content management system such as Wordpress and only use Magento for the Shop section of the website.
There is a plugin for Wordpress that allows you to display products from a Magent website.
https://wordpress.org/plugins/magento/

bootstrap not supported and paypal issue

I have create my theme for joomla 2.5 version and used virtue-mart for shopping cart. Every thing is working fine. User purchase from site with the help of paypal payment gateway and payment returns confirmed too. But when they enable the IPN notification URL then Paypal send a mail like
Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:
/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component
/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component
and when i click on this link then it will showing
500 - JHtml: :bootstrap not supported. File not found.
this error. I have just create my template for joomla 2.5.What the exactly issue. Please let me know
It seems you are trying to design a Template for Joomla 3, not for Joomla 2.5.
For your information, the JHTML::bootstrap supported on Joomla 3 only, but you said you are creating template for Joomla 2.5.
In case, you will need to remove JHTML::bootstrap from your code; if you want to use bootstrap, you will need to use it in another way.
Adding Bootstrap to Joomla:
<?php
$document = JFactory::getDocument();
// Adding bootstrap css
$document->addStyleSheet($url_to_css);
// Adding bootstrap javascript
$document->addScript($url_to_javascript);
?>

Magento backend shipping selection

Heyhey,
I made a pretty kickass Magento 1.6 module to select a store and time to come pick stuff up at the shop, and it works fine in the front end. It doesn´t however appear in the backend, and the backend order creation system needs to have the same functionality.
How do I enable my module for backend order creation?
I'll supply any details needed!
Kind regards,
Alex
in the file:
/app/design/adminhtml/default/default/layout/sales.xml
around line 497 (on my version, which is Enterprise 1.10.0.1)
you should find
<adminhmtl_sales_order_create_index>
I strongly believe that has the information on what you want. Your module will need it's own layout xml file that references these areas to insert its own content. Then, you will need to hook into the order create event with an observer to run your own code to deal with the data. This may already be happening, as I'm not sure if the backend code creating the order is any different from the front end.
Hope this helps as a jumping off point.

Need help with eCommerce solutions

I'm trying to make a site where the user can choose between three options and then quickly pay (on the site, not redirected to paypal) and then once they pay are able to view the product (video). I want everything to be on one page. I have been looking at Ubercart for Drupal and WP eCommerce for Wordpress. They both seem overly complex for what I need, however, I can only program in HTML/CSS and I'm just starting to use PHP. Does anyone know of a guide, easier way, or CMS with an easier to use module for eCommerce that would fit my solution.
I have created a number of sites with WP-Ecommerce... Avoid using it if you can. It is buggy and inflexible. There are a number of other ecommerce plugins in WordPress plugin repository.
Get an account with Paypal and it will let you generate "Buy it Now" buttons for your products that are static HTML and manage all the payment process via Paypal. There's no signup fee. Their rates are a bit on the high side (starting at 2.9% + $0.30), but for low volume or testing new ideas they're a great place to start.
Give BigCommerce a try.
It is easiest to setup and use by far and if you have basic knowledge in HTML/CSS you'll be able to edit the templates no worries.
Integrates with a tonne of payment gateways out of the box.
Comes with free 15 day trial too.

Categories