-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat(events): Add payment metadata to hyperswitch-payment-intent-events #5170
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
Changes from all commits
50c4d2d
1d2e158
bd2bee4
f4fca06
737bd39
2087869
f278042
50bea39
39137f0
a8d0bcb
ee20600
91fca4d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -454,7 +454,7 @@ pub struct PaymentsRequest { | |
|
||
/// You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. Metadata is useful for storing additional, structured information on an object. | ||
#[schema(value_type = Option<Object>, example = r#"{ "udf1": "some-value", "udf2": "some-value" }"#)] | ||
pub metadata: Option<pii::SecretSerdeValue>, | ||
pub metadata: Option<serde_json::Value>, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We'd intentionally kept this a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. adding an issue for this #5227 . |
||
|
||
/// Some connectors like Apple pay, Airwallex and Noon might require some additional information, find specific details in the child attributes below. | ||
pub connector_metadata: Option<ConnectorMetadata>, | ||
|
@@ -3557,7 +3557,7 @@ pub struct PaymentsResponse { | |
|
||
/// You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. Metadata is useful for storing additional, structured information on an object. | ||
#[schema(value_type = Option<Object>, example = r#"{ "udf1": "some-value", "udf2": "some-value" }"#)] | ||
pub metadata: Option<pii::SecretSerdeValue>, | ||
pub metadata: Option<serde_json::Value>, | ||
|
||
/// Additional data related to some connectors | ||
#[schema(value_type = Option<ConnectorMetadata>)] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you revert this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually this is a required change for running opensearch locally.