惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
U
Unit 42
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
雷峰网
雷峰网
Microsoft Security Blog
Microsoft Security Blog
爱范儿
爱范儿
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
L
LangChain Blog
Engineering at Meta
Engineering at Meta
量子位
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
A
About on SuperTechFans
Y
Y Combinator Blog

Fathom blog RSS

Migrating 6.5 billion rows from MongoDB - Fathom Analytics Two database migrations and a divorce - Fathom Analytics Fathom acquires Gauges Announcing: Fathom V4 Shipping faster with more confidence Fathom Analytics has been acquired Google Analytics is deleting all of your historical data I made a mistake Reducing our AWS bill by $100,000 How to Enable and Use Link Tracking Protection in iOS 17 How we built our referral program Why Fathom Analytics doesn’t have a free plan Migrating a 2TB database in 7.5 minutes Can you still export Universal Analytics data? Building our Google Analytics Importer Our Google Analytics Importer is now available SingleStore is now faster on Apple Silicon How to have multiple unique columns in SingleStore Your privacy resolutions for 2023 Filter your dashboard by event completions Counting Clicks: A Use Case for Grouping Fathom Events
How to fix Stripe payment attempt failed because addition...
Jack Ellis · 2025-02-05 · via Fathom blog RSS

laravel-tips  Jack Ellis · Feb 5, 2025

It’s been a while since I wrote a Laravel tip. Well, recently our test suite was failing and I was seeing the error:

Laravel\Cashier\Exceptions\IncompletePayment: The payment attempt failed because additional action is required before it can be completed.

I searched around, visited the Stripe documentation and could not find an issue. So I decided to write this post.

Long story short, our test suite would fallover ocassionally on any payment/Stripe related interactions, despite the fact that everything was working fine before.

I did some digging, discovered that subscriptions were “Incomplete” in Stripe, which made me think it was a payment method issue.

Turns out, it was.

The problem

The issue is caused by us (and you!) using pm_card_visa or tok_visa casually within our code. Long story short, Stripe is sometimes forcing 3DS on these payment methods. And, sure, you should test handling for these things but, if you’re like us, you were only trying to set-up a subscription in Stripe so you could test other, non-payment mechanics.

The solution

We made the following changes:

  1. Switched all payment methods to pm_card_amex_threeDSecureNotSupported
  2. Switched all tokens to tok_amex_threeDSecureNotSupported

Both of these are documented in Stripe as a payment method that requires no 3DS (secure payments).

Now our test suite passes with flying colours. I hope this helps somebody out there.

Return to the Fathom Analytics blog

Jack Ellis

BIO
Jack Ellis, CTO

Tired of how time consuming and complex Google Analytics can be? Try Fathom Analytics:

Start a free trial