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

Getting no data about currency #313

Open
reza-ryte-club opened this issue Sep 12, 2023 · 0 comments
Open

Getting no data about currency #313

reza-ryte-club opened this issue Sep 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@reza-ryte-club
Copy link

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

@reza-ryte-club reza-ryte-club added the bug Something isn't working label Sep 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant