Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Fix regression in payment prompt
Browse files Browse the repository at this point in the history
I didn't update the payment_method_token to stripe_customer_id in the
template where we prompt the user to back their tip with a credit card
if they haven't done so yet. #58
  • Loading branch information
chadwhitacre committed Jun 21, 2012
1 parent 9d47aae commit 51d3bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/participant.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h2>Your weekly {{ tip_or_pledge }} to {{ username }} is:</h2>
{% end %}
</div>

{% if user.payment_method_token is None %}
{% if user.stripe_customer_id is None %}
<p id="payment-prompt"{% if my_tip > 0 %} class="needed"{% end %}>
<a href="/credit-card.html" class="highlight">Back your tip with a
credit card</a> to make sure your tip goes through!</p>
Expand Down

0 comments on commit 51d3bed

Please sign in to comment.