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

Added payment link programmatically #105

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

AstitvaBhardwaj
Copy link
Contributor

No description provided.

Copy link
Collaborator

@hvs-flick hvs-flick left a comment

Choose a reason for hiding this comment

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

Please add testing details

Copy link
Collaborator

@hvs-flick hvs-flick left a comment

Choose a reason for hiding this comment

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

Tests are failing in build

Comment on lines +228 to +231
sportsVenue1.setStripePaymentLinks((List<SportsVenues.StripePaymentLink>) stripePaymentLink);
List<SportsVenues> sportsVenuesList = new ArrayList<>();
sportsVenuesList.add((SportsVenues) sportsVenue1.getStripePaymentLinks());
sportsVenueRepository.saveAll(sportsVenuesList);
Copy link
Collaborator

Choose a reason for hiding this comment

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

aren't we overriding existing list here?

Comment on lines +215 to +216
SportsVenues sportsVenues = new SportsVenues();
String cityId = String.valueOf(Long.valueOf(sportsVenues.getCityId()));
Copy link
Collaborator

Choose a reason for hiding this comment

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

we are creating a new object and reading cityId from it. Is it desired behavior?

@abhimanyu-fm abhimanyu-fm added the invalid This doesn't seem right label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants