Adding a card fails in 2.4.1
See original GitHub issueAfter upgrading to 2.4.1, I’m seeing an AttributeError
when attempting to add a new card to the customer object:
django_1 | File "/app/project/stripe/views.py", line 64, in post
django_1 | customer.add_card(source)
django_1 | File "/usr/local/lib/python3.6/site-packages/djstripe/models/core.py", line 963, in add_card
django_1 | new_stripe_payment_method = stripe_customer.sources.create(source=source)
django_1 | File "/usr/local/lib/python3.6/site-packages/stripe/stripe_object.py", line 92, in __getattr__
django_1 | raise AttributeError(*err.args)
django_1 | AttributeError: sources
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (19 by maintainers)
Top Results From Across the Web
Credit card failed payments in a Sandbox environment
This article explains why a test credit card fails in a Sandbox environment with PayPal APIs.
Read more >Carding Attack · Issue #28614 · magento/magento2 - GitHub
Failure of the authorization due to 2FA still doesn't stop the authorization attempt, it just stops the fraud, and only for those cards...
Read more >Credit card failed payments in a Sandbox environment
This article explains why a test credit card fails in a Sandbox environment with PayPal APIs. Affected products and versions. Adobe Commerce 2.4 ......
Read more >21.6.2 Adjusting TIN-Related Problems - IRS
(11) IRM 21.6.2.4.1, added new caution to not input any merge transactions when multiple TC 960's are present on CC IMFOLQ, but elevate...
Read more >Web Content Accessibility Guidelines (WCAG) 2.1 - W3C
2.4.1 Bypass Blocks; 2.4.2 Page Titled; 2.4.3 Focus Order ... WCAG 2.1 extends WCAG 2.0 by adding new success criteria, definitions to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
STRIPE_API_VERSION = '2020-03-02'
in settings fixes it (note - notDEFAULT_STRIPE_API_VERSION
)Sounds like the fix for now is to expand this, and in 2.5 we will get rid of its usage.