Giter Site home page Giter Site logo

woocommerce's Introduction

WooCommerce

2Checkout WooCommerce Connector

This repository includes modules for each 2Checkout inteface:

  • twocheckout : 2PayJS/API
  • twocheckout-inline : Inline Checkout
  • twocheckout-convert-plus : Hosted Checkout

Integrate WooCommerce with 2Checkout


2Checkout Payment Module Setup

2Checkout Settings

  1. Sign in to your 2Checkout account.
  2. Navigate to DashboardIntegrationsWebhooks & API section
  3. There you can find the 'Merchant Code', 'Secret key', and the 'Buy link secret word'
  4. Navigate to DashboardIntegrationsIpn Settings
  5. Set the IPN URL which should be https://{your-site-name.com}/?wc-api=2checkout_ipn_{variant} ( you can copy it from your 2Checkout Woocommerce payment settings page labeled as IPN Callback URL)
  6. When adding the IPN URL make sure you check SHA3 as Hashing algorithm
  7. Enable 'Triggers' in the IPN section. It’s simpler to enable all the triggers. Those who are not required will simply not be used.

WooCommerce Settings

  1. Copy the directory for the module that you want to install to your WordPress plugins directory under '/wp-content/plugins'.
  2. In your WordPress admin, navigate to Plugins and install the plugin.
  3. Navigate to your WooCommerce settings page, click on Payments and click the module link.
  4. Check to enable.
  5. Enter the payment title and description.
  6. Enter your Seller ID found in your 2Checkout panel Integrations section.
  7. Enter your Secret Key found in your 2Checkout panel Integrations section.
  8. Enter your Secret Word 2Checkout panel Integrations section (Only used for Inline Checkout and Hosted Checkout modules)
  9. Click Save Changes.

woocommerce's People

Contributors

craigchristenson avatar d1ca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

woocommerce's Issues

My humble advice

Hi Guys,
My humble advice is to avoid upgrading to convert plus, at least for a while if you want to keep sales normal during the holiday season.
This plugin has so many issues, especially it will change the whole payment structure of your site. even your previous customers who place daily orders using the same card will not be able to place orders most of the time.
just check the abandon cart ratio of your site since you have upgraded to convert plus, you will see pending payments order will be higher.
if you contact 2co support they will send this cause: "While making payment customer just initialized 3DS Secure step and never completed it.
If there is an issue with this 3DS Secure step, we recommend that you reach out to the banks in order to solve this issue."

Now how is this possible same clients same cards, same ips even same device who was buying easily completing 3DS before convert plus daily multiple times using the old 2checkout sale page for many years.

another issue: issue mentioned at #7
why "product name is not shown in the payment?"
in transaction details and payment invoices, convert plus shows store name instead of product name customer is buying.
We got it fixed by writing a custom function which worked well for us.

another issue: The IPN Callback issue all of the other payment plugins showing the call back option in HTTPS but only this plugin is showing it in HTTP.

another issue: add 2 - 3 different products in cart, then only change to quantity of 1 product from 1x to 2x then go to checkout and go to convert plus to complete payment you will see convert plus will raise the order total price 2x by changing all products quantity 2x in the payment page

Even custom plugin provider https://wordpress.org/plugins/woocommerce-2checkout-payment/
They fix bugs more quickly than @craigchristenson but they are also struggling as we bought the pro version they was offering even paid service charges to fix the issue but they are also unable to deal with convert plus.

As we see many issues reported since November and still pending and we have to wait for @craigchristenson to make the next commit after the holidays.
we are now finding a way to revert back to the old version of the 2co woo plugin as we have already suffered huge losses by upgrading to convert plus.

Payment error:

Payment error:The provided currency [USD] is not supported with this card type. Supported currencies: []

Empty Cart Issue

Please guide with the issue I am facing on my WordPress site, when I proceed to checkout it redirects to a page saying Your Cart is Empty.

Order status is marked as 'UNFINISHED'

We see a different issue after the update. When a customer makes a payment the card is charged but the Order status is marked as 'UNFINISHED'

(Screenshot attached)

Could you please look into this matter ASAP?
Screenshot 2021-04-06 212621

Unable to finish the order using Customer payment link

There is an issue with the latest updates of 2Checkout plugin.

When opening an order with the status "Pending payment" and opening the Customer payment link - unable to complete the payment using 2Checkout gateway since the input fields (Card number, Expiration date etc.) do not appear. Seems like a JavaScript issue.

How to reproduce the issue:

  1. Create a new order and do not go through with the payment (a new order is created under WooCommerce > Orders with a status "Pending payment").
  2. Sign in to WordPress dashboard
  3. Navigate to WooCommerce > Orders and open the Order created in the 1st step
  4. Copy the link of "Customer payment page →" and open it in a Private browser window
  5. Try to complete the payment using 2Checkout payment gateway

Screen Shot 2021-09-17 at 10 22 35

Inline Checkout and 2PayJS/API

Hello Craig, hello guys,
I'm have issue with both inline checkout and API payment and I really need your help to fix that. The only module that was working is Convert Plus. So I dont have a clue how to fix that but I checked Console error log so I could explain whats my issue. And I also tried switching to WP default theme but no luck, it was the same. Whats interesting, previous version 1.0.0 was working just fine but not this one. Console Error Log Screenshot attached: https://pasteboard.co/JATvx13.png

Like I said, I dont have previous experience in JS nor CSS or PHP but I'm learning little by little so any help would be highly appreciated. Thank you in advanced.
Take you all care!

IPN Callback Url should be " https " not http

Hello @craigchristenson ,

The plugin IPN Callback url shown http but it's should be " https " . please check the link https://prnt.sc/vlxd2i .
also your documentation IPN Callback url shown http not https https://prnt.sc/vlxdvv . check this your official doc url https://knowledgecenter.2checkout.com/Shopping-cart-integration/Integrate-WooCommerce?mkt_tok=eyJpIjoiTmprMFlqVmhZMkkxTnpNeiIsInQiOiIxTVVZY0pSc0tNc1luZWtQd3ZiclgzNEFVMmgrQUYydGJNQ1cxVVYzeFhYNzhha29sOVNyU09pOTg3SmJlYXdRa0hUaHhlVm5TVGtHZFFBTVwvNHRuVGNWOXJWK2FGMjI5d2RlbWgzdDcxXC9cL1ZpTmVPRlZmVmdkRG54MDZtRHhnQSJ9

Looking forward your earlier response.

Thanks
Ashik

Custom style showing hidden field as visible

Could you please make sure that the .two-co-iframe-hidden-tabbable class is added to Custom CSS and is hidden instead of visible.
Also it would be much appreciated if you could allow adding new classes and CSS to the customization block since it is imposible to style CSS and quickly fix the issue mentioned above.

Question upon the blank form

Hello,

Would you please check the screenshot, and there is a blank field, would you please let us know what is that?

download

Woocommerce/2Checkout plugin redirect to Error 404 after successful payment

-1

Please i have this issue on my webstore made with Woocommerce/Wordpress and the payement gateway is 2Checkout inline, After a successful payement i’m getting a 404 error instead of thankyou page :

1 - With 2Checkout gateway the link is this (404 Error) :

https://www.example.com/?wc-api=payment_response&pm=twocheckout_inline&order-ext-ref=6827&refno=353985938&total=1&total-currency=EUR&signature=00000
—-

2 - With another method of payement (cash on delivery for example) :

https://www.example.com/commande/order-received/6823/?key=wc_order_pOVp15xoFFEM5
I Disabled all the plugins and activate twenty twenty theme and recreate the permalinks but nothing worked, still having that issue, if you can please make any suggestions to explore i will be very glad.
Thank you very much

Instant Payment Notification failed and Responding web hooks FAILING

We get the issus as belows, I dont know if the PHP versions problems or the plugins problem...
Instant Payment Notification failed!2Checkout system failed to receive a valid reply to the IPN notification sent for the following orders:

Our system detected that you have slow responding web hooks.
Over the past 3 hours the URL https://xxxx/?wc-api=2checkout_ipn_inline is FAILING to respond to our calls.
This can create IPN/LCN delivery delays.

Some bugs to fix

Hello,

First problem :

I'm using 2Checkout Inline and ConvertPlus, there's a problem when we try to complete a purchase for a pending order that we have on "My Account > My Orders", when we click on pay on woocommerce we are redirected to :
https://website.com/checkout/order-pay/2948/?pay_for_order=true&key=wc_order_XXXXXXXX

From this page, it's not possible to make a payment, the popup to make the payment is not opened and we are redirected to a blank page.

Second Problem :

In case you're using this plugin, at WC checkout page if you select (ConvertPlus/Inline/2PayJS) and you change your mind and you want to select another Payment Method like PayPal for example, it will not work, the redirection to PayPal don't work after clicking on "Complete payment", some JS errors occur.

Thank you

Order Status Issue with 2Checkout Convert Plus Payment Gateway v2.2.0

Hello!

I am currently using Checkout Convert Plus Payment Gateway v1.2.2, and credit card payments are being processed successfully. In the WordPress backend, the order status is correctly reported as 'Processing'. However, when I use v2.2.0, the payment goes through, but the status in the backend remains 'Pending'.

I would like to understand the reason for this discrepancy in the order status and request guidance on how to resolve this issue.

Best regards.

error "Couldn't complete the payment validation process" on initial setup

Hi @craigchristenson ,

I'm just in progress with setting up the "2PayJS/API" version.

I did install the addon successfully, entered Seller ID and Secret Key and also added the IPN URL in cpanel while my 2checkout account is in demo mode.
Now I'm trying to make a test payment by using the visa card test credentials.
Now I'm running continuously into the following error message, displayed on the checkout page:
2checkout-woocommerce-api
Payment error: Couldn't complete the payment validation process: Error processing the credit card transaction. Please contact the issuer bank for more details, or enter another card.

I'm not sure if it has to do anything with the module or if it's an issue related to any wrong configuration from my side.
I tried to have a closer look at the issue but so far I'm unable to get any clue. I neither find any information on failed api call attempts in 2checkout's cpanel nor am I able to find the logged data when having checked "Enable logging" in the addon's settings.

It would be great if you can give me a hint on my issue itself and also about how to find the logged debugging data of the addon. If there's any log of api calls in cpanel which I haven't found so far, I'd like to know about it as well.

Best, schenkelchen

Error when placing order JS Error

this is work for taking orders but its not change the order status after taking the payment .

i sell a digital downloadable product (stock design ) which made by me. and it needs the order mark as complete instantly after a successful Cart purchase. then my customer can download their design file instantly. but now this plugin only accepts the payment but not change the order status . this is very annoying to approve manually every order! Are there any solutions for me?

Can I use this plugin with Woocommerce (along with YITH Subscriptions) to collect monthly recurring subscription payments?

I live in Bangladesh so PayPal and Stripe is not available and the only option is 2checkout.
I am building a membership website on Wordpress where I am using Paid Memberships Pro. Since Paid Memberships Pro no longer supports 2checkout, as per suggestion from their blog, I have connected Paid Memberships Pro to woocommerce using their woocommerce add on. During checkout woocommerce is used with YITH Subscriptions to collect monthly recurring membership subscriptions.

My question is: Can I use this plugin with Woocommerce (along with YITH Subscriptions) to collect monthly recurring subscription payments?

I am asking because on 2checkouts website it says that recurring payments are not supported by the 2checkout Woocommerce plugin.

United Arab Emirates with 2checkout woocommerce

Hi,

I set up my United Arab Emirates online store using Woocommerce, but I found a bug that needs fixing.

In the United Arab Emirates, they don't have Postcode/Zipcode

Even in the core of Woocommerce, it's hidden
'AE' => array( 'postcode' => array( 'required' => false, 'hidden' => true ), ),

Now no one can make a payment 2checkout because you can't do it without postcode.

error message: Payment error:The Zip cannot be empty

Any idea how to fix this?

plugin woocomerce problem

Hello, I have this plugins in woocomerce and I like the convert plus method but for a couple of days when my clients try to make a payment the plugins instead of sending it to the 2checkout page it sends it to my wordpress administrator page.

The inline plugins always give me an error and the person has to go through the purchase process twice and usually that causes disagreement.

I would appreciate a help.

Editing cart content

Hello,
in inline card payment, there is an option "Editing cart content"
but its not working, when i click, i cannot change the quantity increase or decrease.
so what the point of this option?

Also why product name is not shown in the payment?

Cannot enable payment gateway on woocommerce

I'm not able to enable the 2 checkout payment method on woocommerce Version 5.1.0 , WordPress version 5.7.1.

Steps to produce Error:

  1. Download code from github, Extract it and zip it again to upload sepearately.
  2. once uploaded enable the plugins and goto Woocommerce > Payments
  3. Try to enable 2checkout with merchant account and password

it just won't enable and not showing any errors. Please do check

Issue when using loading spinner! Works fine if 2co is disabled.

Hi Mr. Craig,
I hope this message finds you well sir :)

Excuse me, is there a quick fix for this error?

First of all, i am using woofunnel plugin that makes beautiful checkout pages and forms..

I added a custom HTML code to my site that will put a loading spinner when clicking the "PLACE YOUR ORDER" button.

Problem: when the 2co plugin is active, the loading spinner doesn't show up when clicking the button AT FIRST TIME, but if you try to buy again without leaving the site, then the loading spinner shows as expected.

These are the videos for more clear illustration:

  1. How should the loading spinner appear:
    https://www.loom.com/share/6682117464dd45eebc14b577f11ae745

  2. How it is when the 2co plugin is installed (latest release 1.2.0v):

https://mega.nz/file/8F0CkS4B#cmaHM_pLE4UoBBUReSRtoFIP5xvW8_Wx4ZUUwlXKVlc

Thanks & appreciated!

WPML multilanguage support + Loading issue

I use the plugin from the folder twocheckout which adds the debit cards form in my site.

I have some issues

  1. The whole form stucks on loading (from chrome, safari) after I refresh the page it's ok both on mobile and PC.
    I use it together with the official WooCommerce PayPal plugin (WooCommerce PayPal Checkout Gateway)
    If 2co form is second and hidden, when I activate it with radio button it's ok. If 2co plugin is first it stucks on loading. If I refresh the page, the form is showing.
    After I deactivated the PayPal plugin 2co form is showing.
    For me it would be great if this action with "Loading please wait.." notification could be completely removed so I could also use the PayPal plugin

  2. I can't change titles in the form using WPML, because it didn't detect any strings so it becomes just for english speaking users.

IMG_3326

2Checkout Redirect URL Question

Hello,

I want to implement the plugin into my Woocommerce website and the procedure is clear except for one thing.
In the 2CO Setting page under Redirect URL > Enable return after sale > Approved URL the link to add should be https://{your-site-name.com}/?wc-api=2checkout_ipn as IPN URL or the link to the my Thank You page?

Thanks to those who point me in the right direction.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.