Skip to content

Commit

Permalink
Fixed color of payment failed message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Moffat authored and Mark Moffat committed Mar 21, 2020
1 parent c15b22e commit 22f6269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ handlebars = handlebars.create({
}
return '<h2 class="text-warning">The payment for this order is pending. We will be in contact shortly.</h2>';
}
return '<h2 class="text-success">Your payment has failed. Please try again or contact us.</h2>';
return '<h2 class="text-danger">Your payment has failed. Please try again or contact us.</h2>';
},
paymentOutcome: (status) => {
if(status === 'Paid' || status === 'Pending'){
Expand Down

0 comments on commit 22f6269

Please sign in to comment.