Skip to content

Bug Report: Stripe Error When Updating Billing Details Without Stripe Configuration #3381

@mayankgongal5

Description

@mayankgongal5

Problem Description
When attempting to update billing details through the dashboard, users encounter a Stripe configuration error even when they don't intend to use Stripe as their payment method. The system should allow billing details updates without requiring Stripe to be configured.

Error Message
Setup stripe via Press Settings before using press.api.billing.get_stripe

Steps to Reproduce

  • Access the Frappe Cloud dashboard
  • Navigate to billing settings/onboarding
  • Attempt to update billing details (name, address, etc.)
  • Click "Update Billing Details" button
  • Error occurs even when Stripe is not configured or intended to be used

Expected Behavior

  • Billing details should be updatable without Stripe configuration
  • Stripe integration should only be called when Stripe is properly configured in Press Settings

Current Behavior

  • The system unconditionally calls [update_billing_details_on_stripe()]
  • This causes the [get_stripe()] function to throw an error when Stripe is not configured
  • Users cannot update basic billing information

Attachments:

Screen.Recording.2025-09-24.at.10.27.16.PM.mov
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions