Skip to content

WIP: stripe: support creating checkout session with metadata

Jérome Perrin requested to merge feat/stripe-metadata into master
kw = {...}
kw['metadata[key]'] = 'value'
connector.createSession(**kw)

but it would be more beautiful to be able to write it like this:

kw = {...}
kw['metadata'] = {'key': 'value'}
connector.createSession(**kw)

This would need change in the way the request data is serialised in createSession.

Edited by Gabriel Monnerat

Merge request reports