Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stripe v3 module for SCA


asro2004

Recommended Posts

Thinking of the idea of subscriptions/recurring billing as an option using the stripe api. Could perhaps be worked into this add-on. Thoughts?

https://stripe.com/docs/billing/subscriptions/overview

 

The water in a vessel is sparkling; the water in the sea is dark. The small truth has words which are clear; the great truth has great silence.

- Rabindranath Tagore

Link to comment
Share on other sites

  • 1 month later...

I hope someone else is having this problem with Stripe.

I am getting a few instances a week where the Stripe payment module is taking the payments twice. Customers are claiming that they are only pressing the checkout button once, and there is only one order per customer. Is this happening to anyone else, and is there a cure for it. I am using the latest version of the addon on a frozen store.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

3 hours ago, 14steve14 said:

am getting a few instances a week where the Stripe payment module is taking the payments twice.

I've not seen any issue, as customers have been using PayPal over the last few weeks.  I'll keep an eye on this and let you know if any issue appears.

osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!)

Link to comment
Share on other sites

5 hours ago, burt said:

I can throw you that popup thing you tested (Supp Code) early if you like to try it on your live site.
Although it is for Bootstrap 4, it *might* work.

Sorry Gary, been a bit busy. That would be good if you don't mind me having it.

I have narrowed it down to just Stripe where payments are being taken twice as it seems not to be affecting PayPal, but for the life of me I cannot find out why. Customers say that they are only clicking the button once, but there may be other things that they are not telling me. Its also not every payment as many go through fine. For now I have turned off Stripe partially due to another reason with them locking access to my account but they do say that they do not know of it happening to others. Again don't know whether or not to believe them.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

8 hours ago, 14steve14 said:

I hope someone else is having this problem with Stripe.

I am getting a few instances a week where the Stripe payment module is taking the payments twice. Customers are claiming that they are only pressing the checkout button once, and there is only one order per customer. Is this happening to anyone else, and is there a cure for it. I am using the latest version of the addon on a frozen store.

I do get the occasional duplicate payment, but it's quite rare.

 

The water in a vessel is sparkling; the water in the sea is dark. The small truth has words which are clear; the great truth has great silence.

- Rabindranath Tagore

Link to comment
Share on other sites

1 hour ago, 14steve14 said:

Sorry Gary, been a bit busy. That would be good if you don't mind me having it.

I have narrowed it down to just Stripe where payments are being taken twice as it seems not to be affecting PayPal, but for the life of me I cannot find out why. Customers say that they are only clicking the button once, but there may be other things that they are not telling me. Its also not every payment as many go through fine. For now I have turned off Stripe partially due to another reason with them locking access to my account but they do say that they do not know of it happening to others. Again don't know whether or not to believe them.

What people say is sometimes what they think you want to hear, and sometimes does not reflect reality.  I'll dig out that code and email you tomorrow.

Link to comment
Share on other sites

21 hours ago, 14steve14 said:

I hope someone else is having this problem with Stripe.

I have had one yesterday, the two payments were 4 minutes apart and the first one although completing the payment has this error.

Error message
"message": "This PaymentIntent's amount could not be updated because it has a status of succeeded. You may only update the amount of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action."
"type": "invalid_request_error"
 
I can see that both payments are coming to my Bank, now going to contact Stripe

Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions.

Link to comment
Share on other sites

Developments.. Large amount of heel digging by me.

Transcript of Chat.

OK. I have a duplicated transaction of £44.22 for the first time ever using CE Phoenix (Oscommerce) with their Stripe approved SCA Addon. Yesterday another user reported the same issue to you and you stated that no one else had had the issue, but now I have. There is error text in the first one Error message "message": "This PaymentIntent's amount could not be updated because it has a status of succeeded. You may only update the amount of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action." "type": "invalid_request_error"

J

I'm currently reading your inquiry, give me a few minutes while I pull up your information.

OK

J

To clarify you were using the Stripe plugin from CE Phoenix (Oscommerce), is that correct?

Yes. It has worked flawlessly for nearly a year up to now

J

In this case, to update the integration, I wish I could be of a bit more help here, but since CE Phoenix (Oscommerce) built their integration with Stripe, they’ll be best able to help you with this directly.

Me

I understand, but nothing has changed in the Phoenix software. I and the other users update it ourselves when there is a new version released. So something must have changed at the Stripe end of the process. This is too much of a coincidence.

 

J

It looks like there was indeed more than one payment made by this customer. It’s possible that this customer may have gone through your checkout flow a second time, or they may have clicked “Pay” more than once while awaiting confirmation.

 

Me

Possibly BUT, only one instance of the order in Phoenix exists, only one Webhook response exists against the order and it is timed at 21.35 which is the first payment. The second one is 21.38 which presumably is your system trying again. The customer would have received an email confirmation immediately so why click a second time. She would have had to create a second order to achieve this anyway.

 

J

I'm afraid that this wouldn't be an issue we could best help with in chat, but I’d be happy to create a support request for you and have one of my colleagues follow up via email shortly. Is that ok with you?

 

Ah, the email has just arrived, I will report back.

 

Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions.

Link to comment
Share on other sites

1 hour ago, mhsuffolk said:

I have had one yesterday, the two payments were 4 minutes apart and the first one although completing the payment has this error.

I would love to look furthe rinto the Stripe side of things with mine, but I am currently unable to access my Stripe account. They say I have never had an account with them. I feel I have a way to go yet but will report oin the errors if there are any when I can get access. I cant even use chat as I cannot access my account.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

20 hours ago, burt said:

What people say is sometimes what they think you want to hear, and sometimes does not reflect reality.  I'll dig out that code and email you tomorrow.

I take a lot of things customers say with a large pinch of salt. Its never their fault and they do nothing wrong but still things happen that the website gets the blame for. Its as if they think it can do things on its own. I even had one customer once claim that the website must have created an account in his name using all his correct details because he never did, and he wanted the account deleted. He apparently only found out that an account was created when he received the welcome email.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Many customers do not know where they live.

I have had, entering the incorrect Postal Town or using the village name instead. Giving me the Post Code for their previous address, and cramming the entire address into Address Line 1 with a random entry in the City field are just a few examples.

Edited by mhsuffolk

Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions.

Link to comment
Share on other sites

1 minute ago, mhsuffolk said:

Many customers do not know where they live.

I have had, entering the incorrect Postal Town or using the village name instead. Giving me the Post Code for their previous address, and cramming the entire address into Address Line 1 with a random entry in the City field are just a few examples.

Totally off topic but I am glad to see that its not only my customers.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Whilst I have no idea what any of this means, and again, have no idea whether this is already implemented on the stripe module I found this page after a google search on others that are or were having the same duplicated payments problem.

https://stripe.com/docs/api/idempotent_requests

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

  • 4 weeks later...

I did a fresh install of Phoenix v 1.0.7.5 I was have issues with another program.  Thought it would be best to start over.  I'm also under PHP7.3

Reinstalling Stripe SCA V 1.0.16r1

Having trouble with installing cards management.  Moduels > Content  When I go to install I get this

1146 - Table 'phoenix.TABLE_CONFIGURATION' doesn't exist

insert into TABLE_CONFIGURATION (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Stripe Card Management', 'MODULE_CONTENT_ACCOUNT_STRIPE_SCA_CARDS_STATUS', 'True', 'Do you want to enable the Stripe Card Management module?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())

[TEP STOP]

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Just a warning to those users of this module. I had a customer place a fraudulent order the other day. He entered an address in Finland and changed the country to the UK as I only use this module to accept payments from UK based customers. The payment went through fine believe it or not. The order was not sent as the incorrect country was used which used the incorrect shipping option. 

I spoke to stripe about this and apparently this could happen. They have suggested a few changes to my Stripe account settings which may prevent it from happening again. It looks like the checks returned as "Unavailable" in the payment. This can happen as some banks do not carry out these checks at the time of payment. The checks in Stripe radar will only pick this up if the checks are actually failed when the checks are made. The changes I made were to what checks are actually required. Its in the Settings - Radar - Rules area in your Stripe admin dashboard.

The advice from Stripe is to check any payments where the tests are unavailable. They also said that you can block a user from paying for products using Stripe, and any card information in your block list can then used to prevent the same happening to other Stripe users as the data is shared.

Like I say, just a warning to be aware..

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

  • 2 weeks later...

I've updated to the latest version of phoenix 1.0.7.7 and the latest version of this app stripe_sca_v1.0.16r1,  and it appears that any order placed using this payment module is not stored correctly.

What I mean is, in the shop side orders are not shown in the customer account if this payment module is used.  However the order is shown in admin.  Strange!

Orders made with another payment module are ok.

Does is occur with anyone else?

osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!)

Link to comment
Share on other sites

2 minutes ago, Mikepo said:

What I mean is, in the shop side orders are not shown in the customer account if this payment module is used.  However the order is shown in admin. 

Might this be the visibility settings on the order status?  Try checking the settings for the status you are using for these orders at admin > Localization > Order Status. 

Always back up before making changes.

Link to comment
Share on other sites

10 minutes ago, ecartz said:

Might this be the visibility settings on the order status

Matt, you are correct.  When paying by stripe the status is not being set to pending, even though the payment completes. Status stays at Preparing [Stripe SCA].

Also, I noticed that the order ID is missing from the invoice and shipping slip.

When using other payments methods all is OK.

So there must be an issue with the stripe payment module.

osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!)

Link to comment
Share on other sites

On 8/20/2020 at 4:51 PM, Mikepo said:

When paying by stripe the status is not being set to pending, even though the payment completes. Status stays at Preparing [Stripe SCA].

Also, I noticed that the order ID is missing from the invoice and shipping slip. 

 

@raiwa This is still an issue with the stripe SCA module in 1.0.7.7 php7.3.  The issue is the status is not being set to 'pending' after the order is completed, and also the email confirmations has the order number missing,  not the invoice and shipping slip as mentioned above.

osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!)

Link to comment
Share on other sites

It has been last tested on Phoenix 1.0.5.1 and may need an update. Please be patient.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...