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 :)
Related
I am currently using CCavenue as my payment gateway, and we collect payments via email, where the Pay button is pre-configured with the URL, which redirects to the payment gateway. I am keen on using Google pay. Below are my few queries -
a) Can a payment gateway be completely replaced by Google pay?
b) Can I embed google pay into the mail and receive the payment or it needs to be in-app only?
I am using Laravel as Backend.
Google Pay does not process payments, and as such, works in combination with existing payment processors / gateways. Here is a list of supported processors as of today (CCAvenue does not seem to be in that list yet).
You can only use Google Pay wherever you can run JavaScript on the web (or on Android using Java or Kotlin), thus most email clients and services will not support such an integration.
Hope it helps.
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
My Requirement: We have an iphone app which will accept paypal login id and password of user and our web service should authenticate those details and if the user is a valid one, on next web service call will accept the details of second user and amount to transfer and the web service should make the payment automatically (without redirecting to paypal site).
Is there any facility available in paypal for this functionality. I have gone through adaptive payments of paypal but didn't find anything related to authentication. We have written the web service in php. Any sample code/ links would be helpful. Thanks
I believe this is what you're after. Specifically Login with PayPal and Seamless Checkout.
You might also want to look at Adaptive Payments, specifically Preapproval and Pay.
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.
I'm using Omnipay with CodeIgniter to allow customers to checkout on Paypal.
I was using test mode during the development on the website, but now the site is done and ready to be put in production.
But I don't know how to setup Omnipay to use live payments and not Sandbox mode.
I tried setting the testMode to false. -> Security header invalid.
I tried creating REST Api credentials -> You can't make this api call.
I know that's probably not the right way to do this, but at least I explored options.
So please, what's the most suitable configuration to do live Payments on PaypalExpress with Omnipay ?
Thanks in advance.
You need to set testMode to false, or just leave it out entirely (false is the default).
Security header invalid
This means that you are trying to use test credentials with the production environment (which it sounds like you were).
You don't want to create REST credentials, you need to create API credentials for the standard PayPal NVP API.
PayPal Express requires an API Username, Password, and Signature. These are different from your PayPal account details. You can obtain your API details by logging in to your (live) PayPal account, and clicking Profile > My Selling Tools > API Access > Request/View API Credentials > Request API Signature.
depending on what type of payments are you using you need to say paypal to activate your account for this types of transactions (this is not necessary in sandbox.
Anyway, is these error returned by omnipay or by paypal api? Copy and paste de full error here for more help.
There are a lot of differences between sandbox and real mode, sandbox usually say ok to any transaction. We had a lot of problems integrating paypal api because of bad practices in sandbox.
In order to try your code in the PayPal sandbox test environment, use the following credentials :
API username : sdk-three_api1.sdk.com
API password : QFZCWN5HZM8VBG7Q
API signature : A‑IzJhZZjhg29XQ2qnhapuwxIDzyAZQ92FRP5dqBzVesOkzbdUONzmOU
P.S: Don't forget to set testMode to true
source : PayPal NVP API Overview