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

[10.x] Remove extra sign off from ConfirmPayment notification #779

Conversation

ralphmorris
Copy link

Just tested the confirm payment notification. Works great but I end up with two "sign offs" as one is being added in the default notification template and the other in ConfirmPayment.

For example my ConfirmPayment sign off was:

"Thanks,

App Name

Regards,
App Name"

I have removed line 66 and 67 from ConfirmPayment so the sign off only exists in the default notification template. Although I quite like the way it says "Thanks" as it is asking the user for an extra action. Maybe it could just say "Thanks", rather than "Thanks, app.name, Regards app.name"?

Of course, ignore this if it is the way it is intended :)

@driesvints driesvints changed the title Remove extra sign off from ConfirmPayment notification [10.0] Remove extra sign off from ConfirmPayment notification Sep 12, 2019
@driesvints driesvints changed the title [10.0] Remove extra sign off from ConfirmPayment notification [10.x] Remove extra sign off from ConfirmPayment notification Sep 12, 2019
Copy link
Member

@driesvints driesvints left a comment

Choose a reason for hiding this comment

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

Hmm, very odd that I never noticed this myself but this seems to be correct. Thanks.

You can also delete the language line here or I can do it later: https://github.com/laravel/cashier/blob/10.0/resources/lang/en.json#L15

@ralphmorris
Copy link
Author

Thanks @driesvints. That's my first (albeit very small) contribution :)

I've just pushed a commit to remove the language line too.

@taylorotwell taylorotwell merged commit 1f5c6e4 into laravel:10.0 Sep 12, 2019
@ralphmorris ralphmorris deleted the remove-extra-signoff-from-confirm-payment branch September 24, 2019 13:37
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.

None yet

3 participants