Questions about Payment Form extension

Stripe "idempotent requests"

  • Jay Larson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 4 months ago #148270 by Jay Larson
Stripe "idempotent requests" was created by Jay Larson
Greetings,

 I'm interested in Stripe's "idempotency" key to prevent duplicate transactions ( stripe.com/docs/api/idempotent_requests ). Does the Stripe plugin for Payment Form use the Omnipay API?

Kind Regards,
Jay

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #148277 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe "idempotent requests"
Hello Jay

Yes. It uses Omnipay API

Regards,

Tuan
The following user(s) said Thank You: Jay Larson

Please Log in or Create an account to join the conversation.

  • Jay Larson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 4 months ago #148307 by Jay Larson
Replied by Jay Larson on topic Stripe "idempotent requests"
Hi Tuan,

It appears the existing Stripe plugin would need to be updated to the Omnipay 3 library in order to use the idempotency key. Is that something you could do for us? If so, please quote a price.

Thank you,
Jay

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #148311 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe "idempotent requests"
Hello Jay

I haven't looked at the details yet but we have omnipay3 available to use in case you want to try joomdonation.com/downloads/lib_omnipay3.zip (we made this library in case someone wants to use our extensions with PHP 8)

Maybe you can install the updated library and give the modification a try? Are you using Stripe or Stripe Checkout?

Tuan

Please Log in or Create an account to join the conversation.

  • Jay Larson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 4 months ago #148336 by Jay Larson
Replied by Jay Larson on topic Stripe "idempotent requests"
Tuan,

Thank you for the Omnipay3 link. I'm using the basic Stripe 5.4.1 plugin.

I'll install the library and take a look over the weekend. But I'm an asp.net/VBScript programmer. My PHP game is pretty weak! :-)

Best,
Jay

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #148342 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe "idempotent requests"
OK Jay. When I have sometime, I might look at it, too. This week, I'm quite busy.

Please Log in or Create an account to join the conversation.

  • Jay Larson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 3 months ago #149113 by Jay Larson
Replied by Jay Larson on topic Stripe "idempotent requests"
Hello Tuan,

Sorry for not replying sooner but I got involved with some other projects. I've finally looked over the Omnipay 3 library and what might be involved to implement the idempotency keys, and I'm afraid this is way beyond my skill set. We're getting duplicate transaction about 5% of the time and having to issue refunds. Of course, we still get charged the merchant fee from Stripe for the duplicates!

We would be very interested in having you implement this feature for us. Please let me know what that would entail.

Best,
Jay

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #149118 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe "idempotent requests"
Hello Jay

I don't have time to look at this right now. But I added it to my todo list and will see if I can find sometime to look at it next week

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Jay Larson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 2 months ago #149950 by Jay Larson
Replied by Jay Larson on topic Stripe "idempotent requests"
Tuan,

Here is a video that Stripe just put out regarding Idempotency. We're currently averaging about 2% duplicate charges with Stripe so would be very interested to see this implemented in Payment Form.


Thanks,
Jay

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago - 3 months 3 weeks ago #163171 by nate covington
Replied by nate covington on topic Stripe "idempotent requests"
Bump - I'm interested in this feature too:
stripe.com/docs/api/idempotent_requests

So far this year I have $10 in extra stripe fees because of the issue -

[Edit]
Actually, I see this new setting in the Payment Form configuration: Prevent Double Submissions
I'm going to enable this and see if it helps - maybe it's already solved.
Last edit: 3 months 3 weeks ago by nate covington. Reason: Maybe already solved

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc