2Checkout / woocommerce

2Checkout WooCommerce Connector
MIT License
23 stars 13 forks source link

Some bugs to fix #1

Closed sagitaire123 closed 4 years ago

sagitaire123 commented 4 years ago

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

DAHcod commented 4 years ago

Same problem. I wish some body else fix these as soon as possible.

sagitaire123 commented 4 years ago

They are already working on it, it will be ready today or tomorrow.

DAHcod commented 4 years ago

A good news. I am looking forward to fixing it ASAP. Thank you.

sagitaire123 commented 4 years ago

If you noticed another problem, publish it. For your case you have the 2 problems ?

DAHcod commented 4 years ago

I have an other problem: When I activate this plugin, at line IPN Callback Url was generated the link with http://www...not https://www...because my site is support SSL. This maybe an error for processing payments.

sagitaire123 commented 4 years ago

Yes, same problem here. But it seems it doesn't affect processing payments, i made some tests, but i think it's better to make it https

DAHcod commented 4 years ago

I have tested and it showed this red message: " X Error when trying to place order" at the page https://www.mywebsite.com/my-account/ I think this problem need to test carefully and fix it soon.

sagitaire123 commented 4 years ago

@DAHcod Can you send a screenshot here of the error ?

DAHcod commented 4 years ago

Screenshot (20) Screenshot (23) Screenshot (24) I have other problems as screenshot files attached. I hope all these will be fix soon.

sagitaire123 commented 4 years ago

For the first screenshot, it's normal, PayPal is not enabled on your 2Checkout account. For second screenshot, 2Checkout need to fix the page of privacy policy etc..., but it's not a major problem. For the 3rd screenshot, at which moment this message is displayed, just when you access to my account page ?

DAHcod commented 4 years ago

For the 3rd screenshot, at which moment this message is displayed, just when you access to my account page ? Answer: When I tested place order, after loading the checkout payment and then closed it. After that I go to my account page to see my pending order and it displayed the error message. I think this issue maybe at line IPN Callback Url was generated the link with http://www...not https://www...because my site is support SSL. This maybe an error for processing payments

DAHcod commented 4 years ago

Do let me know if your 2 problem have been resolved.

DAHcod commented 4 years ago

Do you have any information for your 2 problem have been resolved?

sagitaire123 commented 4 years ago

The problem of switching to another payment method, is already fixed here : https://github.com/2Checkout/woocommerce/tree/release

DAHcod commented 4 years ago

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

Did you fix your issue?

sagitaire123 commented 4 years ago

The second problem yes, it's already fixed, the first one not yet. @craigchristenson The my account problem will be fixed soon ?

DAHcod commented 4 years ago

I am waiting the first one as well

DAHcod commented 4 years ago

Hi, Do you know how long take to get the first one fixed?

sagitaire123 commented 4 years ago

No idea

craigchristenson commented 4 years ago

Sorry for the delay, a patch for the 'My Account' issue was just pushed to the release branch. Please let me know if you find any issues. https://github.com/2Checkout/woocommerce/tree/release

DAHcod commented 4 years ago

Hello,

I have updated but it seems still not working yet. Please tell how to do update to it works on my site?

DAHcod commented 4 years ago

The popup to make the payment is not opened and I am still redirected to a blank page as the first one from sagitaire123 Please check and tell me how to do?

sagitaire123 commented 4 years ago

@DAHcod i updated the plugin and it seems working perfectly without any problem, now i'm making tests to be sure that there's no bugs.

sagitaire123 commented 4 years ago

Sorry for the delay, a patch for the 'My Account' issue was just pushed to the release branch. Please let me know if you find any issues. https://github.com/2Checkout/woocommerce/tree/release

First issue detected :

@craigchristenson after making some tests, there's a problem at the moment we try to make a payment from "My Account" page, when we select for example 2Checkout Inline and the Popup is opened, if we decide to close it and we want to change and choose another payment method and click on "Complete Payment", the Popup of 2Checkout Inline will be opened everytime, even if another payment method is selected.

DAHcod commented 4 years ago

@craigchristenson I have tested this on mobile but there was a error with message: "Error processing checkout. Please try again." @sagitaire123 Can you check and confirm this problem is correct please?

sagitaire123 commented 4 years ago

@DAHcod Are you talking about my account page on mobile ?

DAHcod commented 4 years ago

@sagitaire123 That is when I use my mobile to checkout and choose 2Checkout Inline to pay. But it seems not support and showed the error message.

sagitaire123 commented 4 years ago

@DAHcod which mobile are you using and which browser ?

DAHcod commented 4 years ago

@sagitaire123 iPhone with safari browser.

sagitaire123 commented 4 years ago

Which iPhone ?

DAHcod commented 4 years ago

Which iPhone ?

XS max

sagitaire123 commented 4 years ago

I will try tomorrow and let you know

Sonansh commented 4 years ago

It's ridiculous to see that the live plugin has such a basic error. I was wondering why I am not receiving any order via 2checkout for 1 month. Found this crap today.

@sagitaire123 , I confirm I have the same experience as you. Can you please confirm if all the errors such as the "blank page" issue are resolved now?

Thanks

sagitaire123 commented 4 years ago

@Sonansh Yes it has been resolved on My Account page, but still there's some bug.

Sonansh commented 4 years ago

So you mean these are solved 1) Blank page issue 2) Account page

Then which issues are left?

Sonansh commented 4 years ago

I have updated the 2checkout inline and it still throws the blank page. The version of the plugin says 0.0.3

Can you please confirm if you have installed the same version?

DAHcod commented 4 years ago

I still have Blank page issue and checkout by mobile issue. @craigchristenson, @sagitaire123 Can you confirm what is version? and how to do?

sagitaire123 commented 4 years ago

Use this release https://github.com/2Checkout/woocommerce/tree/release it was published by @craigchristenson

it still have some small bugs, normally he told me that it will be fixed this Monday.

Sonansh commented 4 years ago

Thanks @sagitaire123 for sending that link.

I checked both express and Inline methods. Inline worked but express didn't. I did a test payment from android phone. However, I prefer inline more. But that's a note to mention.

Can you please briefly tell me what small bugs are remaining so I could also track at my end ?

@DAHcod, the express method didn't load the UI on mobile. But it displayed correctly on desktop. However, after reloading multiple times, the UI loaded on mobile and I did a test payment but it didn't work. Thank you

sagitaire123 commented 4 years ago

@Sonansh Personnally i'm using 2Checkout Inline, it's working good and i prefer it comparing to others solutions.

For the small bugs, it's mentioned here, @craigchristenson told me that it will be fixed soon, maybe this monday :

@craigchristenson after making some tests, there's a problem at the moment we try to make a payment from "My Account" page, when we select for example 2Checkout Inline and the Popup is opened, if we decide to close it and we want to change and choose another payment method and click on "Complete Payment", the Popup of 2Checkout Inline will be opened everytime, even if another payment method is selected.

Sonansh commented 4 years ago

I also believe there is some inconsistency with 3D secure pin as well. Hope this plugin becomes fixed soon.

sagitaire123 commented 4 years ago

@Sonansh what do you mean exactly ?

Sonansh commented 4 years ago

After the customer enters the card number, he/she should receive the 6 digit code from the bank which should be entered in order to complete the payment. This number is called 3D secure pin.

The plugin either doesn't sends the pin or is not able to verify when the customer enters.

sagitaire123 commented 4 years ago

@Sonansh This part normally is not managed by the plugin, but by the customer bank, it's the bank who send the 6 digit code, and it's also the bank who approve or not the payment before redirecting to 2Checkout.

DAHcod commented 4 years ago

@sagitaire123 @craigchristenson Is there any new updates?

craigchristenson commented 4 years ago

@sagitaire123 the fix for inline being invoked after another payment method was selected has been pushed to the release branch. @Sonansh @DAHcod the 3DS, PayPal and privacy policy issues that you are reporting are not part of this plugin but they may be an issues in the 2Checkout inline checkout. Can you both open a support tickets with 2Checkout Support? I can make sure that they receive the proper attention to investigate.

DAHcod commented 4 years ago

@craigchristenson Can you change when I click place order first iFrame for inline displayed to choose "How will you pay?" options Credit card or PayPay as the attached file? Screenshot (35)_LI

sagitaire123 commented 4 years ago

@DAHcod when you say if he can change it, you want to change by what exactly ?

DAHcod commented 4 years ago

@DAHcod when you say if he can change it, you want to change by what exactly ?

I want the iFrame has 2 options for customers choose Credit card of PayPay as the photo I attached. Please see the photo I attached before. Thanks.

Sonansh commented 4 years ago

@craigchristenson

1) I have updated the plugin from this link - https://github.com/2Checkout/woocommerce/tree/release. Is it correct link? 2) I will perform few more tests and if I still face 3D secure pin issue, I will create a new ticket. 3) Can you please publish this plugin to Wordpress Directory? So auto-update is more streamlined? 4) Since past 3 updates, the plugin version is still 0.0.3. Please keep on upgrading that number so we can track and know what we are doing. 5) How do I change the color of the 2checkout inline primary button like @DAHcod showed in the pic? In my case it is green and it does not looks good with my theme colors. See image. color