Skip to content

fix: make profileId optional throughout PaymentSession surface - #114

Open
Pradeep-kumar1202 wants to merge 1 commit into
mainfrom
fix/profile-id-optional
Open

fix: make profileId optional throughout PaymentSession surface#114
Pradeep-kumar1202 wants to merge 1 commit into
mainfrom
fix/profile-id-optional

Conversation

@Pradeep-kumar1202

Copy link
Copy Markdown
Contributor

Summary

  • Replaces the abandoned chore: Added the mandatory profile_id field #80 with the optional-profileId variant. profileId becomes String? = null everywhere in the payment-session flow; click-to-pay and authentication are deliberately excluded.

Why

  • After chore: Added the mandatory profile_id field #80 was opened to make profileId mandatory across PaymentSession, product decided profileId should be inferred from the publishable key on the backend when not supplied. Forcing merchants to pass it is now a regression on integration ergonomics.

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.

1 participant