Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

Getting no data about currency #313

@reza-rahman-rx

Description

@reza-rahman-rx

What is the issue?

The Pull function is supposed to return a model, which contains a list of Plan. A Plan object is supposed to have a currency.
When I call Pull I cannot get any value for currency. Even if I can see in the Stripe dashboard that the plan costs certain USD.

Here is the definition of Plan type.

type Plan struct { 
    Title    string                
    Interval string              
    Currency string           
    Features map[refs.Name]Feature 
}

Steps to reproduce

Use the following signature to pull a valid plan with at least a feature.

func (c *Client) Pull(ctx context.Context) (apitypes.Model, error)

Are there any recent changes that introduced the issue?

No response

OS

Linux, macOS

OS version

No response

Tier version

0.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions