The Magento 1.9.4.2 has deprecated the Credit Card payment method, so I've decided to get the config.xml and system.xml from older version which is 1.8. It works btw.
My question is, once the customer input their credit card info, I want the bank(gateway for development) to verify it(I'm using a devsecure gateway service URL). My teacher told me to use cURL to do it but I am worried about how I'm going to do it. I'm new to Magento as well as PHP that's why I have no idea what to open to the directory. I am completely lost.
I don't know where to implement the cURL, in system.xml??cause it's where the Credit card functionalities are located at
Magento has deprecated the Card Method in v1 for a reason. It was usually set to storing the card details which is not a secure way nowadays, as now everything is tokenised.
Every card provider has an API (not sure what devsecure is and how it is working, some docs would be useful).
What you should do, is create a custom module for the payment gateway (full fledged module) that actually handles the authorisation/charging aspect.
There are plenty of open source examples that would allow you to replicate some functionalty.
As it stands now the question doesn't provide enough details to help. Generally you need a custom module with a Payment Model for devsecure. the charging aspect would be handled using simple cURL requests within the module, or you could load a library like Guzzle to handle the HTTP requests.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 days ago.
Improve this question
Hello I am currently redirecting and trying to pass data to my payment gateway from place-order.js but I'm not sure if this is the best way to do it.If I wanted to do it with a simple custom magento module where I can just run a curl and pass in the order amount and reference how would I go about that?
I have tried to make a few custom modules for this but it never fully works I see the payment method in the front end but it never works or just redirects and doesn't send info to the curl .I then just started doing it all in place-order.js
It's generally not recommended to handle payment gateway integrations in the frontend as it poses a security risk. It's better to handle payment gateway integrations on the server side, where sensitive information can be securely processed.
To create a custom Magento module to handle payment gateway integrations via a curl request, you can follow these steps:
Create a new module: You can create a new module by following the Magento 2 module creation guide. You can create a module that handles the payment integration logic.
Configure the module: You'll need to configure the module by defining the payment method and other settings such as API credentials.
Implement the payment gateway integration: In your module, you'll need to implement the payment gateway integration using curl. You can use Magento's built-in curl library to make the request to the payment gateway. In your implementation, you can pass the order amount and reference as parameters.
Handle the response: Once the payment gateway returns a response, you'll need to handle it in your module. Depending on the response, you can either mark the order as paid or show an error message to the user.
Test and debug: Once you have implemented the payment gateway integration, you'll need to test it to ensure it's working as expected. You can use Magento's built-in testing tools to test your module.
Overall, it's important to ensure that your custom module is secure and handles errors and exceptions gracefully. It's also recommended to follow Magento's best practices and coding standards to ensure your module is compatible with future versions of Magento.
Maybe refer to this article : https://www.mageplaza.com/devdocs/magento-2-create-payment-method/
So I need to recommend an eCommerce platform to my client. The requirement is that they need to ship items all over Europe and North America. So it needs to be multi-currency, multi-language. Also there is a subscription model, so the credit card needs to be stored and periodically charged. Further they need it to integrate with QuickBooks which is they accounting software. Also the software will have web, iOS and Android versions.
So for the storing credit card part, I do not want to store it within our infrastructure because of PCI DSS issues. Instead I would prefer having something like paypal vault. However I cannot use paypal because their mobile SDK does not support recurring payments/subscription model.
With paypal ruled out, I have been looking at X-Cart for the shopping interface and couple of other payment companies (akin to authorize.net) for the payment integration. However I am getting confused with X-Cart. It talks a lot about PCI compliance and stuff, so I am wondering whether it is a full package not just shopping cart? I read tons of documentation but I still cannot wrap my head around it.
My Questions:
If I use X-Cart do I need any additional payment integration system like Paypal?
Since X-Cart is a downloadable software, what PSI implications does hosting it in our own server have?
How will I handle iOS and Android versions, does X-Cart do anything for those platforms?
I was surprised to see X-Cart was a SO tag. So I decided to reach out to anyone with prior X-Cart experience to help me get some directions.
Thank you!
All the latest versions of X-Cart do not touch credit card information at any point. So it is out of PCI-DSS scope and can be hosted on any server you like as long as it meets the system requirements.
And to process credit cards you can use any of the integrated payment gateways.
X-Cart does not charge any transaction fees so the only fees you will be paying will be to the gateway itself.
And if the gateway you would like to use is not integrated yet, you can add it yourself since the platform is fully open code.
As for subscriptions, X-Cart offers a stand-alone PA-DSS certified X-Payments software that utilizes tokenization technology supported by certain payment methods(including PayPal Pro) to "save" credit card information for further use in a PCI-compliant manner. The actual credit card number is saved by the payment gateway itself. And X-Payments uses the token to perform additional charges. The token cannot be used with any other gateway or X-Payments installation so even if it gets stolen there won't be any harm. You can read more about it in this blog post.
And dedicated iOS/Android applications can be added with Shopgate service that is integrated with X-Cart.
I'm developing a site which needs to utilize SagePay's token system within Magento.
The module I'm using to do this is Ebizmarts SagePay Suite http://www.magentocommerce.com/magento-connect/ebizmarts-sage-pay-suite-ce-sage-pay-approved.html
Problem I'm having is it doesn't seem to be storing any token data in the sagepaysuite_tokencard database table. Even though I've selected the Token Integration - Server method. However, on checkout the option is there to save details for next time.
Could this be that my client's SagePay account does not have the ability to make tokenized payments? Or is there something I've missed?
Cards are saved once the transaction completes.
I'd recommend you check whether the vendor has Token on both their Test and Live Sage Pay account. If they have do not have Token, ask them to call Sage Pay on 0845 111 4466.
If you are using Ebizmarts Community Edition (FREE) version of their module, the latest release can be downloaded here.
If you are using the PRO version (chargeable extension) please email Ebizmarts via info#ebizmarts.com as they have excellent support.
I am (developer) using amazon marketplace payment for transaction. For this i am using marketplace fee enabled button (http://docs.aws.amazon.com/AmazonSimplePay/latest/ASPGettingStartedGuide/nomktplc.html).
I want charge a sender's card at a later point so I am using settle (advance feature of amazon marketplace fee enabled button). To settle the transaction I am trying to use this (found at http://docs.aws.amazon.com/AmazonFPS/latest/FPSMarketplaceGuide/Settle.html)
" https://fps.sandbox.amazonaws.com?Action=Settle&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE&ReserveTransactionId=14GKD9GE66FAA63E6O6B2JDPZKN53LZ7F22&SignatureMethod=HmacSHA256&SignatureVersion=2&Signature=SJJLsIBghi7VIycBjX7c3hnfgZ%2FBvZbzqLtAZXDL8ys%3D&Timestamp=2009-10-06T07%3A53%3A11.750Z&TransactionAmount.CurrencyCode=USD&TransactionAmount.Value=1&Version=2008-09-17 "
My question regarding this request is
How should I use it.
From where should I call this - the browser or as a normal api call.
If it is done by api then what steps should I follow?
I made this call directly from the browser but it is always showing
'SignatureDoesNotMatch' error.
Please suggest what i should do? Any help will be highly appreciated.
The Amazon Simple Pay solution you are using gives you a very simple HTML integration. The browser does the magic here.
The Amazon Flexible Payment System (FPS) however is an API which is designed to be used by server side code (even though it could be used by JavaScript). You will have to create and properly sign requests to automate this integration. This is considerably more complex than just putting an ASP snippet into your page. I suggest you start here:
What Is Amazon FPS <- good starting point
FPS Sandbox <-- a browser playground for FTP calls
We are building an ecommerce app where we want our users to pick out a (any provider we can make compatible with our app) payment provider. Up to today, we only support paypal and we have implemented this rather manually.
We are looking for some sort of a module (free or commercial) to easily plugin in more payment providers to let customers accept payments through them. Our customers would use this to accept payments for sales in their web shops.
Any ideas on such "modules"?
I know of the Zend_Payment module but that's not updated anymore or isn't out yet at all.
We run PHP in the Zend Framework if that matters.
Try this one
http://phpclasses.100pour100net.com/package/5213-PHP-Accept-payments-with-Paypal-Authorize-net-and-2CO.html
It process several major payment gateways.
If you want to be able to offer multiple gateways you should look at http://Spreedlycore.com It's not PHP (Ruby) but essentially is a single API that connects to around 30 gateways.
I've recently been struggling with the same issue and finally decided to make it on my own. In result I've done a standalone Zend module with pluggable payment gateway methods. This solution is described here.
There is extensive developer documentation from many payment providers to assist in writing scripts to handle transaction requests. Usually these will involve sending some request to your payment gateway provider and providing a callback url where update information about the given transaction can be sent. It should not be difficult to develop an appropriate module for the occasion in Zend and a controllerAction to handle the callback functionality.