Magento Eliminate Credit Card Fields - php

We have a Magento Pro 1.10.2 store accessing "incentive points" to be used like cash for products. We've redirected the Authorize.net module to communicate with a website of ours instead of their credit card services. This works great except that we need to remove the dialog boxes for credit card information from the frontend checkout page. We've looked though onepage.phtml and form.phtml but are baffled.
All we really need to do is to make card type, card number, expire date, and CCV invisible but give them default values so that the verifyer doesn't complain (or just turn off verification). We don't need these fields for the way that we are using the Authorize.net interface.
Thanks in advance for your help.

Take a look #
Frontend
/app/design/frontend/base/default/template/payment/form/ccsave.phtml
/app/design/frontend/base/default/template/payment/form/cc.phtml
Admin
/app/design/adminhtml/base/default/template/payment/form/ccsave.phtml
/app/design/adminhtml/base/default/template/payment/form/cc.phtml
I think it would be better if you create your own custom magento payment module see http://inchoo.net/ecommerce/magento/how-to-create-magento-payment-module/

Related

implement multiple payment gateways in codeigniter checkout?

Can Any one suggest me how to implement multiple payment gateways in a single cart page in codeigniter. i would like to implement bit pay, go card less, and pay pal, i don't know how implement this any ideas???
and any implementation techniques also useful for my development. i have seen this kind of implementation in word press.
enter image description here
You will need to create a different Library for each provider - potentially storing files in the third_party folder (and referencing with APPPATH). You can then load whichever library you need depending on the choice. See : https://www.codeigniter.com/user_guide/general/creating_libraries.html
You will need to add one button in cart page like "Check Out", after clicking this button give or show multiple payment options to customer like PayPal, Credit Card etc in other page.
And than system identify which button pressed by customer or user.Also you will need to create different library for all payment options.

Woocommerce Payment System

Salutations!
I want to crate a payment system on Woocommerce. That accept code payment(like how you recharge your phone), My website will only have items with one price so it will be easy.
So the problem is that I want my plugin/system to generate by its on codes(like 100 unique codes)...in which the person can buy items with the codes, not a discount like coupons.
I do not know hoe to start, Thank you.
I understand you wish to provide a payment method that requires the buyer to provide some random card number which your plugin must generate and store in a table.
Since you don't wish to use a voucher for this purpose I suggest you develop a payment extension to handle the process, however ensure you do series of tests before you go live.
Here is a tutorial that will get you started on woo commerce payment extension plugin. You can also see woo commerce documentation
http://www.sitepoint.com/ http://www.sitepoint.com/building-a-woocommerce-payment-extension/

Magento - PayPal not redirecting to mobile site

On my Magento store I have a problem with PayPal. Magento is not redirecting PayPal payments to the mobile PayPal template if the customer is using a mobile phone or tablet. I contacted PayPal and they let me know that the variable "discount_amount_cart" should be removed in order to redirect customers to the mobile PayPal site.
I'm using the standard, built-in PayPal Website Payments Standard payment method. I searched the internet, but I can't find out what the consequences are when I remove that variable, and how I can do that.
Do you have any idea?
Thank you.
The only place this variable seems to be set is in this method: Mage_Paypal_Model_Api_Standard::getStandardCheckoutRequest(). In my opinion the discount should not be related to the mobile page, but you can try to remove it anyway.
discount_amount_cart is a optional field:
Single discount amount charged cart-wide.
It must be less than the selling price of all items combined in the cart. This variable >overrides any individual item discount_amount_x values, if present.
Applies only to the Cart Upload command.
-- PayPal - HTML Variables for Shopping Carts
I've got an answer back from PayPal: Unfortunately, there is no workaround for this currently. You cannot use the discount parameter and still use the mobile optimized checkout.
Bummer! We have to use the default website. Thank you, Simon H, for your help!

Custom VirtueMart Options

I'm working on a project that ties into an API and uses virtuemart. Basically a user can buy time for a phone card. the few things I need help with are:
A) can/how can I create a custom php function once the user signs up. For instance, the user adds Items to the cart and proceeds to checkout. once the user clicks checkout they need to create an account, after they create an account is there an area in this process that allows for a custom function so that I can tie the creation of the account to an API?
B) same as above but after checkout. After the checkout goes through, how can I make it so the new values are sent to the API? Is there an area in the files that allow for custom functions here.
C) Lastly is it possible to add more options the the virtuemart customer account maintnance screen. I want an option that will tie into the API and show them exactly how much time the have left for their phone card. This information will be provided by the api.
All of these things can be achieved with a System Plugin. You would simply look for the right url, get any information from the result screen with regex, call your API and insert any changes back into the screen.
I'm not specifically aware of any VM functions for this, but as VM is in flux with Version 2 getting closer, it may not be a good time for any such investment in any case.

magento payment process.. how it works in general

got a question and I hope this is right place to ask :).. don’t quite understand how payment works in magento.
client goes to checkout and lets say wants to pay as a guest, so provides address etc. and finally gets to payment methods. Then I want clients to pay thru credit card. Already have module installed for gateway (bank?) of my choice. At that point I would expect users to be redirected to 3rd party page (bank hosted) where they giving all the details, only after being returned to my magento site with appropriate message.
In magento however it seems like they need to provide cc numbers and details on magento checkout page. I don’t understand if I (or the payment module I installed) need to transfer then all the credit card details to bank? I would have to have checkout page on ssl connection and static ip right?
The thing is I want to avoid touching CC numbers at any point and would love to have it done by a bank page. I like the idea of magento interface all the way without redirecting to another page though, the only problem is not sure if would be able to set it all up properly.
If anyone could explain to me possible options, what is the common way to do it and how the whole process works that would be very much appreciated.
I did my research and looked all over google and various forums still need someones help though. Please let me know if some parts of my question are not quite clear, will try to better explain if necessary.
Had to develop a payment module for DPS in NZ some time back. How this works is, you go to pay on the site and the payment module php code runs that sends off the details to an acquiring institutions payment website who process the transaction for you with the bank. In my case as I recall it was DPS NZ via some soap calls. The Soap calls contained details such as the total cost, the currency, the merchant number to identify who you are paying. The acquiring institution (DPS in this case) then takes your credit card number and expiry date and do the processing. Then, again via some soap calls back to your own magento website you get redirected back with the error code - success, etc.
DPS use soap I think, but other payment websites may use other protocols to work. The other possibility is that your credit card acquiring page could be hosted on your website and you accept the credit card numbers and do all the processing within magento to the acquirer.
In short, the process is controlled by the payment module itself. If you want to see more detail, have a look at the payment module tutorials that are available and also the comments in the magento forums. You can also look at the paypal module code.
The default architecture that Magento payment modules use involves the customer interfacing with the module and the module talking to your payment gateway behind the scenes.
Basically the customer inputs all his data (CC and all) and hits the payment button at which point certain functions are run in the chosen payment module. What these functions do is entirely up to how the payment gateway works. if the gateway talks via XML they send/receive XML, if it needs SOAP then they use SOAP and so on and so forth. This in fact is the gist of building a new payment module. Open an existing one, check out which functions are called, get rid of the code in there and substitute with your own that will talk to your particular bank/gateway.
Of course some gateways have an alternate way of operating where you send the customer to their pages, he gives them his CC data and he is promptly returned to your site. This way you don't need to worry about handling credit card data, but unfortunately the process of implementing this in Magento is somewhat more involved.
If you need to use a certain gateway then you should first check whether a payment module for it already exists. if not you can download a similar payment module, dissect it and modify it to run your code where appropriate.

Categories