Skip to content

Commit 5d92aa7

Browse files
authored
Update cart.html
added stripe payment
1 parent fd931fb commit 5d92aa7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

FLASK PROJECTS/E-commerce/templates/cart.html

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ <h2 class="text-center my-4">Your Cart</h2>
3434
<td class="text-end">{{ row.name }}</td>
3535
<td class="text-end">{{ row.quantity }}</td>
3636
<td class="text-end">{{ row.price }}</td>
37+
<!-- Stripe payment link -->
38+
<td class="text-end" > <a href="https://buy.stripe.com/test_4gwdRtfcFcU3eVGfYY?locale=en-GB&__embed_source=1">Pay with Stripe</a></td>
39+
3740
</tr> {% endfor %}
3841
</tbody>
3942
</table>

0 commit comments

Comments
 (0)