I downloaded PHP kit from CCavenue payment integration website. and I followed below steps
step1--->Login to your dashboard--->Got to resources--->Web integration kit--->PHP kit
step2--->Open PHP kit--->Use non-seamless kit for integration
step3--->Open ccavrequestHandler.php---->mention the access code and working key(use the access code and working key of the same URL)--->check the post action URL i.e.https://secure.ccavenue.com/transaction/transaction.do?command=initiateTransaction (for the live environment)
and save the file.
step4--->Open ccavresponseHandler file--->Mention the working key---->save the file.
step5--->Mention all the mandatory parameters in dataFrom.htm
mandatory parameters--->merchant_id,order_id,currency,amount,cancel_url,redirect_url and language(value=en)
step6--->upload all the files on the server
step7--->click on check out
but I don't know where can be uploaded the edited PHP kit files, I am new in yii1 payment gateway integration.
CCAvenue removed the PDF from their website so I removed the official link.
I found the PDF on a different site: http://nilonvalves.com/pdf/
Alternatively, you can download it from https://nofile.io/f/G1hswvhr8rO/CCAVenueWorldIntegrationManual.pdf
Check this manual, it might be what are you looking for. There is something about testing the integration on page 19.
o test your transaction on CCAvenue. Here is the step given by CCAvenue.
This section for all Clients. Now you're ready to test your account by doing Live transactions! Please keep in mind that you cannot test CCAvenue by using American Express or JCB credit card and also any of the Net Banking interfaces. Please use Mastercard, Visa, Diners Club or a Citibank eCard to do a test transaction. Also remember that while placing test orders, always put the words "SUB MERCHANT TEST" in the Instructions text box. After the transaction is successful, please log in to your CCAvenue account using your client ID and Password and cancel the test transaction. Please do not capture the transaction as this would constitute a "cash advance" against one's own cards, which our credit card companies and the payment gateways do not allow on the Internet.
Related
I have integrated Paypal extensions (standard and express checkout) to my opencart. But I have few queries regarding the flow.
How can I enable direct credit card payments? I have already tried enabling it at accounts in developer console but I was shown this message:
Note: Direct credit card processing is not available for you when using REST APIs. Your live credentials are inoperable for direct credit card processing for your country but your test credentials are enabled for sandbox testing.
I am getting "security header invalid" error when I try to do a payment with expresscheckout. Not sure how where can I get exact API details
Is there any way I can implement paypal in-context flow in opencart?
1) Only US, UK, Canada and Australia countries merchant can apply direct credit card payment. Based on your error message, it looks like your PayPal account doesn't belong to these countries. please correct me if I'm wrong.
2)"security header invalid" means the API credential is incorrect. Please get your API credential at https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-api-run after login.
3) Refer to http://forum.opencart.com/viewtopic.php?f=123&t=147345 , there are some preconditions before you use in-context flow in opencart. You can confirm with opencart support team directly.
Hope these information could help you.
I am working on Laravel 4.2 project. The project is about to provide the Video services to the dedicated customers.
The client wants to use PayPal payment gateway and I have never done this before. He has provided me a Personal and a Business account with Classical API credentials and signature.
The project requirement is once user sign-up, he will be charged certain amount (let us say $10 every month). For payment he must NOT be redirected to PayPal site that means everything should be done using my website only. Also we will NOT store any credit card details of the user and still the Payment should be done OR renewed automatically every month.
If user wants to turn of the the auto renewal of payment, he can.
I am not sure how to do this using PayPal classical API. Although I have downloaded the Omnipay/Omnipay package from git-hub, they asks there is no method to store the user's credit card details in PayPal Vault using this also to have a cron job for auto renewal. Since I don't want to store the credit card details, I am not sure how to do all this.
Please help me or guide me to do so. Is there any sample or example?
In order to take credit cards directly like you're asking you'll need to sign up with PayPal Payments Pro, which is $30/mo. Then you'll need to add the recurring billing feature to that, which is another $30/mo.
If that's not a problem, then after getting those things approved and active on your account, you would use the CreateRecurringPaymentsProfile API to create the subscription profiles.
This PayPal PHP SDK is available on Packagist and works with Composer, so it works wonderfully in Laravel.
The CreateRecurringPaymentsProfile sample is functional as-is (although, as I look at it now you'll need to update the expiration date of the credit card) so you would just need to replace all of the static data with your own dynamic data.
The template file is the same thing but it's completely empty and ready for you to populate with your own data.
Using that SDK you can have the profile creation working within minutes, so it's just a matter of having Pro w/ Recurring Payments enabled on your account.
We have used DoDirectMethod to credit card payment and recurring payment with CreateRecurringPaymentsProfile Method. But Some how i can not get error "This transaction cannot be processed due to an invalid merchant configuration.".
I found some solution for this :
1)I have problem like : Features that are not enabled for live transactions
2) If for use of REST API ,
I need to change my country then how can i change country or currency.
3) In paypal errorcode i found : Occurs when you have not agreed to the billing agreement.
- Then how can i agreed billing agrrement- need steps for it.
Please help me by providing steps of configuration or any other solution.
PayPal is confusing peoples/developers completely, i am also getting the same issue from one month on one of our client's website, i was used DoDirectPayment, and it works like a charm for test transactions, but as i make it LIVE it is was showing the same issue, i found that too, to performing transactions in LIVE mode we need to 'Enable' this feature for Direct Credit Cards, but many times i requested them (PayPal) to enable that feature, but all time they just received my Application Online and reponsed that it will take about 24 hours. I have also added extra information like SSN, EIN all that but they are so lazy or not active to do that.
At one point they are saying we need Website Payments Pro but i have not found a single link to register that, I found PayPal Payments Pro link at many sites and even in their site, these guys have a huge documentation on that website payments pro and dodirect method but not a single link how to register for that service or how they enable that feature for 'Live' mode.
And today i found they updated their developers site and make things a little different, also provided an extra method "braintreegateway" in order to process, and i tried that too using their sandbox account, its working with only PHP 5.4 and above, so old PHP version servers are unable to get that. And they also need to register your details at their end.
If i have already a PayPal Business account why do i need to register at every single method.
Sucked
I want to integrate CCAvenue payment gateway in my site. Is there any sandbox site available for CCAvenue to test payments? If any provide me the link.
CCAvenue removed the PDF from their website so I removed the official link.
Removed broken links. I found another copy but at this point it might be outdated.
https://docplayer.net/12395510-Ccavenue-world-integration-manual-version-1-0.html
Check this manual , it might be what are you looking for.
There is something about testing the integration on page 19.
I found another one which seems to be a more recent copy with a more up to date explanation.
https://jemds.com/data_pdf/1_CCAvenue%20Integration%20-%20Ver%202.0.pdf
From my experience, this is not a great app for sandboxing. If you download the manual (linked by #rgerculy you should see the information for integration. However, here is what must happen:
First, login to the merchant account and go to the integration section and download the sample code. There you'll see some PHP test code. You can probably save time by working this into your application.
Next, make sure to activate your remote merchant processing. By default, its deactivated.
Finally, it looks like you can use 4111-1111-1111-1111 to simulate a failure. To simulate success, you must use a real card for testing - less than $1USD - and put the term SUB-MERCHANT TEST in the extra notes text area.
There doesn't seem to be an easier way to do this, that I'm aware of. :(
To test your transaction on CCAvenue. Here is the step given by CCAvenue.
This section for all Clients. Now you're ready to test your account by doing Live transactions! Please keep in mind that you cannot test CCAvenue by using American Express or JCB credit card and also any of the Net Banking interfaces. Please use Mastercard, Visa, Diners Club or a Citibank eCard to do a test transaction. Also remember that while placing test orders, always put the words "SUB MERCHANT TEST" in the Instructions text box. After the transaction is successful, please log in to your CCAvenue account using your client ID and Password and cancel the test transaction. Please do not capture the transaction as this would constitute a "cash advance" against one's own cards, which our credit card companies and the payment gateways do not allow on the Internet.
Current Process:
Step one is to register in CCAvenue, and your account will be activated much sooner. And once your account is activated you will receive,
Merchant ID.
Link to activate your account and setup password for your CCAvenue account.
at your registered email address.
Once you activate your account and set up the password for your account, you can get the working key and access code in the dashboard.
To test your code, you can use https://test.ccavenue.com as form URL to CCAvenue website. All the transactions to this test URL will not be processed.
If you need to test your code from your local machine, you should write to CCAvenue service desk at service#ccavenue.com with your merchant ID and localhost URL to white-list. Else CCAvenue will throw error "Merchant Authentication Failed".
Hope this might help someone who is looking for a testing environment.
For testing ccavenue you have to mail your merchant id and register site to ccavenue help team and they will activate your account for test environment
By default: test account is not active in ccavenue. But the live payment gateway is active. You need to mail salessupport#ccavenue.com with merchant_id and domain names to be whitelisted. It will be activated in 24 hours.
Whats the recommended way to do this with Paypal (i've heard they're a nightmare to deal with).
Ideally the user would sign up with credit card details and then i'd process the payments through their banks? Is that how it works? With API's?
Ideally the user would sign up with
credit card details and then i'd
process the payments through their
banks? Is that how it works?
No. In a correctly designed system you never have access to your user's credit card number. It's your payment processor (eg PayPal, MoneyBookers, FastSpring, etc.) that takes care of processing your customer's credit card.
So your customer is taken to the payment processor's site (on a page which can be customized to use your company's logo etc.) and then your payment processor warns you when a purchase a made (for example by calling a specific URL).
With API's?
Yup, PayPal (and MoneyBookers and things like FastSpring) offer APIs for several languages (like Java APIs).
PayPal has a dev environment on which you can test these kind of functionalities, so does MoneyBookers if I recall correctly (also note that sometimes the dev environments are a bit buggy and/or down).
PayPal offers APIs for processing payments. Typically, the user is taken off your page to login into paypal and then paypal calls back to your site with approval/shipping info. The whole point is for the user to shield their credit card info from your site, making things safer.* You can use either the NVP (name-value pair) or SOAP protocol for development. There are also 3rd party libraries to simplify integration.
Check out the API reference here to get an idea:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_api_reference
*PayPal does offer a Direct Payment API which allows your site to take credit cards directly and use PayPal as the gateway:
https://www.paypal.com/cgi-bin/webscr?cmd=_dcc_hub-outside