opencart: How to integrate sagepay test account? - php

I am developing a website on opencart. I want to integrate sagepay account on that website.
But for testing phase I want to create a test account on sagepay and then integrate it on opencart.
So I have two questions:
How to create test account on sagepay?
How to integrate test account of sagepay on opencart?
Please help me in this regard.

To create a Test Account you'd need to apply for one via here if using Opencart. A Test account is only provided once you have submitted your application, whilst your merchant number is being validated with your merchant bank.
Can't answer how but can confirm the testing requirements for Sage Pay which you'll need to follow which can be found here once you have your test account.
Integration documents are available here which will help you with your integration once you have decided on whether you are using web to server (Form), server to server (Server) or hosting everything on your site (Direct).
There is the Simulator for pretesting before get a Test account for v2.23 integration only. Integration documents on Sage Pay website are v3.00.

Related

How to correctly integrate PayPal's API with paypal payments pro?

I just finished building a donation form on a client's website, which processes payments through PayPal's classic api. It works fine in Sandbox mode, but I'm getting a 10501 - This transaction cannot be processed due to an invalid merchant configuration. error.
I know that this error is caused by PayPal payments pro not being enabled on the account the API is trying to access. That is were I'm somewhat confused. The account I'm connecting this donation form to is subscribed to Paypal Payments Pro.
When I first encountered the 10501 error, I thought that PayPal may require myself to log in and enable the Payments Pro service. I found a "get started" button under the payments pro section of the site, but when I click it, I'm taken to a page which only provides a link to the API documentation.
I've never worked with PayPal's API before or launched a live paypal application. I'm hoping someone can point me in the right direction.
NOTES
Just to make it clear, the PHP donation form DOES work in PayPal's sandbox mode
I have acquired the correct API keys from the live account and I know for a fact that I did not mix up the live credentials with the sandbox.
this donation form is on a website, not an mobile app (do I still need to register it as a paypal app?)
Thanks
A lot of times what happens is that PayPal enables the Virtual Terminal for you, but not the DoDirectPayment API. I would just give them a call and let them know you have Pro, but your DDP calls are resulting in this error, and they can probably get it enabled for you.
It's also possible that your version of Pro requires you to use the PayFlow API instead of DoDirectPayment. That's something they can tell you when you call them.

Rest API (advanced or pro account)

I'm working with PHP language.
I would like to build a form and execute direct payment with credit card on my site.
So I download the php sdk library from paypal official repo : https://github.com/paypal/rest-api-sdk-php
For the time, I create a developer account and a sandbox environment. In my sandbox, I use a "business" account to test my app and everything work fine with REST API.
I don't know if a paypal advanced account will be enough to achieve this feature in using REST when I'll go in production mode.
Do you know if I absolutely have to create a pro account ? I'm little confused.
Thanks,
For the US accounts if you use REST API for accepting the credit cards there is no need for any Pro and Advanced account . You just need to have a Business Verified account . You can check the more information here:
https://developer.paypal.com/webapps/developer/docs/integration/direct/rest_api_payment_country_currency_support/#direct-credit-card-payments

PayPal upgrade from Sandbox to Production, not found error

My application was working fine with paypal sanbox account but when I put my production API credentials and make application to accept real payments it is giving me:
"This webpage is not available" error on this url:
"https://www.live.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-95X1447957597540A".
I am making express checkout and credit card payments using paypal.
And I have my personal paypal account and developer account. And I am currently testing with my personal account API credentials for production purpose.
Does it require to create a new Classic App to go live?
And if yes than can I and my client both create same app?
Thanks.
You don't use live.paypal.com. The live server is just www.paypal.com.

how to test clicknbuy?

I want to test clicknbuy payment gateway like paypal sandbox? Is that possible ? If yes, how ?
You can test Paypal by using different settings for the script. Instead of using the "real" api you create a developer account. That allows you to have a fake account and fake usernames to simulate payments. When you're done with everything you can switch to using the normal api instead of the test server.
Base site: https://developer.paypal.com/
More information at https://www.x.com/community/ppx/testing
Click on "Testing Web Checkout APIs"
Testing Web Checkout APIs PayPal Web
Checkout APIs includes Express
Checkout, Website Payments Pro, Button
Manager, Mass Pay, Recurring Payments,
and all of the Information APIs
Login or sign-up on
developer.paypal.com Create your test
accounts - you can learn more about
this in the Getting Starting Guide.
Get you API Credentials for your
Business Test Account Code and Test
Read the Documents Get Sample Code
Download SDKs
Use the correct endpoint
Go live :)

flagship Merchent Account Payment gateway

hello i have to integrate flagship merchant services on my project.But i don't have any idea about this.if any person any idea about this or have any api regarding this please let me know .I have also integrate reoccurring payment service in this.So if any body has worked on this payment express please provide me the api or the flow so i can integrate this as soon as possible
My project is in php so need api in php
I believe you're referring to this Flagship Merchant Services. According to their FAQ, you need an Internet merchant account with them before they'll provide you with the First Data Global Gateway API to interface with their payment gateway.
I worked on similiar integration code with a local credit card processing provider and they only provide the interface API only when the client has signed up an account with the provider. Presumably, it's for security purposes (at least security through obscurity)

Categories