Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade dj-stripe #266

Open
rajpaul opened this issue Mar 29, 2023 · 2 comments
Open

Upgrade dj-stripe #266

rajpaul opened this issue Mar 29, 2023 · 2 comments
Assignees

Comments

@rajpaul
Copy link

rajpaul commented Mar 29, 2023

there's no upgrade path for djstripe
Requires Django 3.2: https://github.com/dj-stripe/dj-stripe/
https://dj-stripe.dev/dj-stripe/2.7/usage/manually_syncing_with_stripe/

@rajpaul
Copy link
Author

rajpaul commented Mar 29, 2023

@natea I have not started working on this issue yet as I am on django oscar 2.0 right now. And you know , Total functionalities of django oscar are huge and you know all the django oscar and related apps were forked before to meet custom needs which have a complex upgradation path. Hope after the django oscar migration I will start working on dj-stripe upgrade.

@rajpaul
Copy link
Author

rajpaul commented Apr 30, 2023

As discussed I was having a duplicate index issue while trying to run migrate command. I found there are duplicate entries in the production db. For future reference just adding the two duplicated rows here.

id | created | modified | stripe_id | customer_id | attempted | attempts | closed | paid | period_end | period_start | subtotal | total | date | charge -----+-------------------------------+-------------------------------+-----------------------------+-------------+-----------+----------+--------+------+------------------------+------------------------+----------+-------+------------------------+----------------------------- 472 | 2016-05-01 10:45:29.378243+06 | 2016-05-01 10:45:29.400659+06 | in_180chk2ufDjcosQzBlFBQlS5 | 2246 | t | | t | t | 2016-05-16 01:34:12+06 | 2016-04-16 01:34:12+06 | 10.00 | 10.00 | 2016-04-16 01:34:12+06 | ch_180chk2ufDjcosQzS20XWXYR 473 | 2016-05-01 10:45:29.382322+06 | 2016-05-01 10:45:29.40174+06 | in_180chk2ufDjcosQzBlFBQlS5 | 2246 | t | | t | t | 2016-05-16 01:34:12+06 | 2016-04-16 01:34:12+06 | 10.00 | 10.00 | 2016-04-16 01:34:12+06 | ch_180chk2ufDjcosQzS20XWXYR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant