Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sample store app #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Update sample store app #9

wants to merge 2 commits into from

Conversation

mshafrir-stripe
Copy link
Collaborator

@mshafrir-stripe mshafrir-stripe commented Nov 1, 2019

  • Update stripe-android to v12.3.0
  • Update backend API to reflect backend changes
  • Update store product list and pricing to match backend
  • Simplify models and use data class/@parcelize

- Update stripe-android to v12.2.0
- Update backend API to reflect backend changes
- Update store product list and pricing to match
  backend
- Simplify models and use data class/@parcelize
if (data.shippingInformation != null) {
params["shipping"] = data.shippingInformation!!.toParamMap()
data.shippingInformation?.let {
params["shipping"] = it.toParamMap()
}
params["return_url"] = "stripe://payment-auth-return"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh looks like this logic needs to be fixed - it should be a string (e.g. "fedex")

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do in follow-up PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants