chargebee / chargebee-android

MIT License
9 stars 6 forks source link

Configuration for using tokenization only doesn't work #20

Closed SebastianHelzer closed 2 years ago

SebastianHelzer commented 2 years ago

The docs say that I should be able to configure chargebee for tokenizing credit card details by

import com.chargebee.android.Chargebee

Chargebee.configure(site = "your-site", publishableApiKey = "api_key")

But that api doesn't seem to exist. And attempting to pass in "" or null for packageName and sdkKey doesn't work.

SebastianHelzer commented 2 years ago

Aww seems that setting packageName and sdkKey to "" actually does work. An error does get logged with this setup but still enables a functional Chargebee object.

My issue was passing the wrong params into Chargebee.retrieveAllPlans.