Questions tagged [2checkout]

2Checkout simplifies your checkout process by bundling the merchant account and payment gateway, offering international options, and a branded experience while maintaining the highest level of security and fraud protection.

2Checkout.com works by allowing sellers to accept online payment for their goods and services. After you are approved, integrate your website with 2Checkout using either our free Plug and Play cart or a shopping cart of your choice. Your customers will order on your site, and then pay within 2Checkout’s secure PCI compliant payment page. When the order is completed successfully, we will send the customer an order confirmation and then send them back to your website.

2Checkout offers 8 payment methods:

  • Visa
  • MasterCard
  • Discover
  • American Express
  • Diners
  • JCB
  • PIN debit cards with the Visa or MasterCard logo
  • Debit cards with the Visa or MasterCard logo
  • PayPal

Some of these options are only available in select currencies.

2Checkout offer documentation, shopping cart plugins and community supported libraries to make the integration process as quick and easy as possible.

162 questions
11
votes
2 answers

Using classes without namespace with Yii2

I want to use Checkout SDK with Yii2 but since this library does not support PSR-4 standards (namespaces) I am having trouble to integrate it. How can I use this library for my purpose? EDIT As suggested I tried to use class as $sale = new…
alwaysLearn
  • 6,882
  • 7
  • 39
  • 67
9
votes
0 answers

Integrating 2checkout with android

Is there any example or sample code on how to integrate 2checkout api inside an android app. Or if someone has done it before can guide me on this.
ghap
  • 119
  • 4
6
votes
1 answer

2Checkout API - how do I edit a recurring sale

I want to enable subscription service for my customers through 2checkout recurring billing. When my customers change their plan, I want to update their recurring sale amount to a different amount. How do I do that. On 2checkout documentation I did…
Subhash
  • 311
  • 1
  • 8
5
votes
1 answer

How to use set 2Checkout Authentication Headers?

I'm trying to use 2checkout REST API https://knowledgecenter.2checkout.com/API-Integration/REST_5.0_Reference#/introduction/authentication/json-encoded-requests Here's a snippet of how i try to request const axios = require('axios') const moment =…
4
votes
1 answer

How to integrate 2checkout with flutter

How to integrate 2checkout with flutter? is there any way to integrate 2checkout payment gateway with flutter app? can anyone please help me?
FTF Studio
  • 89
  • 3
  • 17
4
votes
1 answer

2checkout test payment simulation

In a php application of mine, I am looking for help on how to simulate test payment with https://www.2checkout.com/. I have experience with test payment for Paypal sandbox using developer account. But in here 2checkout I can't figure it out.
ARIF MAHMUD RANA
  • 5,026
  • 3
  • 31
  • 58
3
votes
0 answers

2Checkout slow responding web hooks

Im trying to integrate 2Checkout on application that the front-end is build on Angular 11 and back end Node js, i managed to integrate IPN(Instant Payment Notification) of 2Checkout but i get a notification that says: "" Our system detected that…
3
votes
2 answers

2CheckOut - Error : Bad Request - Parameter error

Request Data to TwoCheckOut : Response from TwoCheckOut. { "error": "Bad request - parameter error" } Here is the Code $charge = Twocheckout_Charge::auth(array( "sellerId" => '*HIDDEN*', "merchantOrderId" =>…
3
votes
0 answers

2Checkout Bad request - parameter error

I have been trying to work with the sandbox api, but i am unable to determine which parameter is causing the bad parameter error.Also, in the API side i do not see any notification about any missing parameter etc.Below is our payload. …
waqas asif
  • 51
  • 5
3
votes
1 answer

2Checkout Refund Issue

Using 2Checkout's supported library for PHP, I'm having trouble doing a refund in their sandbox via their API using the example they provided and my own credentials. What am I doing wrong? Note that I can do charges just fine in their sandbox, but…
Volomike
  • 23,743
  • 21
  • 113
  • 209
3
votes
1 answer

How to use 2checkout to fixed shipping address

I use 2checkout for the payment,fill in the shipping address on my own website,then jump to 2checkout checkout page,but it will fill in the shipping address again.It will cause the freight risk if someone reselect the shipping address. I don't know…
Sawyer
  • 33
  • 3
3
votes
1 answer

How to add plain PHP library into Laravel?

I am using 2checkout API to integrate payments in my application. I am following their API Tutorial. I made slight modifications to their approach. Below is the unmodified front-end code by tutorial.
Hassan Saqib
  • 2,597
  • 7
  • 28
  • 51
3
votes
2 answers

2checkout always return hash mismatch

I'm using 2co sandbox to test sale like this.
PHP User
  • 2,350
  • 6
  • 46
  • 87
3
votes
2 answers

Cannot Get INS for 2Checkout Paymet

I'm currently trying 2CO payment integration to my website with 2CO demo account. I was setting up my account in accordance with the requirements that I need. But when I do the payment process and finish it, I did not get a notification (INS). I had…
Zhee
  • 31
  • 1
3
votes
1 answer

How to cancel the payment when hash key mismatch on approved URL 2checkout

When the sale is completed,the buyer return with sale parameters back to the approved URL that we defined. on 2checkout so i have defined mine localhost/XYZ/index.php?r=order/authenticateCheckout Now according to documentation as code is given in…
AsadYarKhan
  • 678
  • 2
  • 14
  • 31
1
2 3
10 11