{% extends 'base.html' %} {% load static %} {% block content %}

Sale #{{ sale.id }} - {{ sale.item.name }}

{% if request.user == sale.bid.bidder %} {% if sale.payment_received == False %}

Hello {{ sale.bid.bidder.username }},

The seller accepted your bid and the sale process was initiated. Please send funds to the below Monero escrow address (or use the QR code).

Expected Payment (XMR): {{ sale.expected_payment_xmr }}

Escrow Address: {{ sale.escrow_address }}


Need a Wallet?

Try out these popular Monero wallet projects:

{% elif sale.payment_received %}

Congratulations {{ sale.bid.bidder.username }},

Your funds have been confirmed!

The seller has been notified of the proof of payment and has been provided with your shipping address. Please make sure it is correct and will result in successful package delivery. You can edit the address here: Edit Shipping Address

Address 1: {{ shipping_address.address1 }}

Address 2: {{ shipping_address.address2 }}

City: {{ shipping_address.city }}

State: {{ shipping_address.state }}

Country: {{ shipping_address.country }}

Zip: {{ shipping_address.zip }}

{% endif %} {% endif %} {% if request.user == sale.item.owner %} {% if sale.payment_received == False %}

Hello {{ sale.item.owner.username }},

You accepted bid #{{ sale.bid.id }} on your item "{{ sale.item.name }}" (#{{ sale.item.id }}). A new sale has been initiated.

We are waiting for the buyer to send funds to the escrow address. No action is needed from you at this time, but you will be notified you when there is.

Congratulations on the sale!

{% elif sale.payment_received %}

Congratulations {{ sale.item.owner.username }},

The bidder for your item has sent the proper amount of funds to the escrow wallet address. You may now proceed with shipping the item they agreed to purchase from you. Here is the physical address you will need to mail it to:

Address 1: {{ shipping_address.address1 }}

Address 2: {{ shipping_address.address2 }}

City: {{ shipping_address.city }}

State: {{ shipping_address.state }}

Country: {{ shipping_address.country }}

Zip: {{ shipping_address.zip }}

{% endif %} {% endif %} {% if site_meta.debug %}

Debug Info

Item: {{ sale.item }}

Payout Address: {{ sale.item.payout_address }}

Escrow Address: {{ sale.escrow_address }}

Escrow Account Index: {{ sale.escrow_account_index }}

Agreed Price (XMR): {{ sale.agreed_price_xmr }}

Platform Fee (XMR): {{ sale.platform_fee_xmr }}

Expected Payment (XMR): {{ sale.expected_payment_xmr }}

Received Payment (XMR): {{ sale.received_payment_xmr }}

Escrow Period (days): {{ sale.escrow_period_days }}

Buyer Notified: {{ sale.buyer_notified }}

Seller Notified: {{ sale.seller_notified }}

Payment Received: {{ sale.payment_received }}

Payment Refunded: {{ sale.payment_refunded }}

Item Shipped: {{ sale.item_shipped }}

Item Received: {{ sale.item_received }}

Buyer Disputed: {{ sale.buyer_disputed }}

Seller Disputed: {{ sale.seller_disputed }}

Escrow Complete: {{ sale.escrow_complete }}

Seller Paid: {{ sale.seller_paid }}

Platform Paid: {{ sale.platform_paid }}

Sale Finalized: {{ sale.sale_finalized }}

{% endif %}
{% endblock %}