Closed Laura10101 closed 11 months ago
The checkout view was hardcoded to post new payments with a null subscription_id. This was done initially because the susbcription_id is not readily obtainable by the checkout view. The payments API and subscription signals were therefore updated to use the user_id rather than the subscription_id to link payments to the subscriptions which should be updated.
Steps to reproduce
Expected result The checkout page should be displayed with the correct price for the chosen subscription option
Actual result The following JSONDecodeError is dsiplayed:
JSONDecodeError at /checkout/ Expecting value: line 1 column 1 (char 0)