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

fix(payment_request): Create jobs outside of DB transaction #2711

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

vincent-pochet
Copy link
Collaborator

Context

This PR is a fix for PaymentRequests::Payments::StripeCreateJob failing with a ActiveJob::DeserializationError

Description

It fixes the error by making sure that all jobs in PaymentRequests::CreateService are enqueued outisde of the database transaction

Copy link
Collaborator

@rsempe rsempe left a comment

Choose a reason for hiding this comment

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

👍

@vincent-pochet vincent-pochet merged commit cd1ae81 into main Oct 18, 2024
6 checks passed
@vincent-pochet vincent-pochet deleted the fix-payment-request-deserialization-error branch October 18, 2024 09:57
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.

2 participants