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

Smart retry toggle button #1621

Open
Tracked by #1619
sagarnaikjuspay opened this issue Oct 17, 2024 · 0 comments · May be fixed by #1642
Open
Tracked by #1619

Smart retry toggle button #1621

sagarnaikjuspay opened this issue Oct 17, 2024 · 0 comments · May be fixed by #1642

Comments

@sagarnaikjuspay
Copy link
Contributor

sagarnaikjuspay commented Oct 17, 2024

Description

smart retry toggle for modules like Smart retry saving, Total Authorisation Rate, Total Payments Processed, Total Refunds Processed, All Disputes, Payments Lifecycle, Payments Processed, Payments Success Rate the BE will retrurn the both the data which is smart retry include and smart retry without like {key} and {key}_without_smart_retries

for Payments Lifecycle module we won't include count of smart_retried_success and smart_retried_failure

moduesl Successful Payments Distribution and Failed Payments Distribution need to hit diff url and the it has respective keys

How did you test it?

// Smart retry saving

Url => analytics/v2/{auth_level}/metrics/payments
Metric => sessionized_smart_retried_amount

with smart retry 
Response key => smart_retried_amount
Meta data field => total_smart_retried_amount

without smart retry 
Response key => smart_retried_amount_without_smart_retries
Meta data field => total_smart_retried_amount_without_smart_retries

// Total Authorisation Rate

Url => analytics/v2/{auth_level}/metrics/payments
Metric => sessionized_payments_success_rate

with smart retry 
Response key => payments_success_rate
Meta data field => total_success_rate

without smart retry 
Response key => payments_success_rate_without_smart_retries
Meta data field => total_success_rate_without_smart_retries

// Total Payments Processed

Url => analytics/v2/{auth_level}/metrics/payments
Metric => sessionized_payment_processed_amount

with smart retry 
Response key => 
payment_processed_amount , 
payment_processed_count ,
Meta data field =>
total_payment_processed_amount,
total_payment_processed_count

without smart retry 
Response key =>
payment_processed_amount_without_smart_retries, 
payment_processed_count_without_smart_retries
Meta data field =>
total_payment_processed_amount_without_smart_retries,
total_payment_processed_count_without_smart_retries,

// Total Refunds Processed [ no change ]

Url => analytics/v1/{auth_level}/metrics/refunds
Metric => 
refund_processed_amount
Response key => 
refund_processed_amount
Meta data field => 
None

// All Disputes [ no change ]

Url => analytics/v1/{auth_level}/metrics/disputes
Metric => dispute_status_metric
Response key => total_dispute
Meta data field => None

// Payments Lifecycle
won't be including smart retry counts

// Payments Processed

Url => analytics/v2/{auth_level}/metrics/payments
Metric => sessionized_payment_processed_amount

with smart retry 
Response key => 
payment_processed_amount , 
payment_processed_count ,
Meta data field => 
total_payment_processed_amount,
total_payment_processed_count,

without smart retry 
Response key =>
payment_processed_amount_without_smart_retries, 
payment_processed_count_without_smart_retries
Meta data field =>
total_payment_processed_amount_without_smart_retries,
total_payment_processed_count_without_smart_retries,

// Payments Success Rate

Url =>  analytics/v2/{auth_level}/metrics/payments
Metric =>  sessionized_payments_success_rate

with smart retry 
Response key => payments_success_rate
Meta data field => total_success_rate

without smart retry 
Response key => payments_success_rate_without_smart_retries
Meta data field => total_success_rate_without_smart_retries

// Successful Payments Distribution

with smart retry 
Url => analytics/v1/{auth_level}/metrics/payments
Metric => payments_distribution
Response key => payments_success_rate_distribution
Meta data field => None
without smart retry 
Url =>analytics/v2/{auth_level}/metrics/payments
Metric => sessionized_payments_distribution
Response key => payments_success_rate_distribution_without_smart_retries
Meta data field => None

// Failed Payments Distribution

with smart retry
Url => analytics/v1/{auth_level}/metrics/payments
Metric => payments_distribution
Response key => payments_failure_rate_distribution
Meta data field => None
without smart retry
Url => analytics/v2/{auth_level}/metrics/payments
Metric => sessionized_payments_distribution
Response key => payments_failure_rate_distribution_without_smart_retries
Meta data field => None
@sagarnaikjuspay sagarnaikjuspay linked a pull request Oct 22, 2024 that will close this issue
13 tasks
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 a pull request may close this issue.

1 participant