my-maxi-skirt /wp-content/plugins/wp-lister-for-ebay/views/transaction_details.php

Language PHP Lines 135
MD5 Hash b448a5eb1f70ba038eed15a7255821f0 Estimated Cost $896 (why?)
Repository https://bitbucket.org/sanders_nick/my-maxi-skirt.git View Raw File
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?php

	$d = $wpl_transaction['details'];

?><html>
<head>
    <title>Transaction details</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">
        body,td,p { color:#2f2f2f; font:12px/16px Verdana, Arial, Helvetica, sans-serif; }
    </style>
</head>

<body>

    <h2>Details for transaction #<?php echo $wpl_transaction['id'] ?></h2>

    <table width="100%" border="0">
        <tr>
            <td width="20%">            
                <b>Datum:</b>
            </td><td>
                <?php echo $wpl_transaction['date_created'] ?>
            </td>
        </tr>
        <tr>
            <td>            
                <b>eBay Item ID:</b>
            </td><td>
                <?php echo $wpl_transaction['item_id'] ?>
            </td>
        </tr>
        <tr>
            <td>            
                <b>eBay Buyer:</b>
            </td><td>
                <?php echo $d->Buyer->UserID ?>
            </td>
        </tr>
        <tr>
            <td>            
                <b>Buyer Email:</b>
            </td><td>
                <?php echo $d->Buyer->Email ?>
            </td>
        </tr>
        <?php if ( $d->BuyerCheckoutMessage != '' ) : ?>
        <tr>
            <td>            
                <b>Message:</b>
            </td><td>
                <?php echo $d->BuyerCheckoutMessage ?>
            </td>
        </tr>
        <?php endif; ?>
    </table>

        
    <h2>Shipping and Payment</h2>

    <table width="100%" border="0">
        <tr><td width="50%">
            
            <b>Shipping address:</b><br>
            <?php echo $d->Buyer->BuyerInfo->ShippingAddress->Name ?> <br>
            <?php echo $d->Buyer->BuyerInfo->ShippingAddress->Street1 ?> <br>
            <?php if ($d->Buyer->BuyerInfo->ShippingAddress->Street2): ?>
            <?php echo $d->Buyer->BuyerInfo->ShippingAddress->Street2 ?> <br>
            <?php endif; ?>
            <?php echo $d->Buyer->BuyerInfo->ShippingAddress->PostalCode ?> 
            <?php echo $d->Buyer->BuyerInfo->ShippingAddress->CityName ?> <br>
            <?php echo $d->Buyer->BuyerInfo->ShippingAddress->CountryName ?> <br>
            <br>
            <b>Shipping service:</b><br>
            <?php echo $d->ShippingServiceSelected->ShippingService ?> <br>
            <br>

        </td><td width="50%">

            <b>Payment address:</b><br>
            <?php echo $d->Buyer->RegistrationAddress->Name ?> <br>
            <?php echo $d->Buyer->RegistrationAddress->Street1 ?> <br>
            <?php if ($d->Buyer->RegistrationAddress->Street2): ?>
            <?php echo $d->Buyer->RegistrationAddress->Street2 ?> <br>
            <?php endif; ?>
            <?php echo $d->Buyer->RegistrationAddress->PostalCode ?> 
            <?php echo $d->Buyer->RegistrationAddress->CityName ?> <br>
            <?php echo $d->Buyer->RegistrationAddress->CountryName ?> <br>
            <br>
            <b>Payment method:</b><br>
            <?php echo $d->Status->PaymentMethodUsed ?> <br>
            <br>
            
        </td></tr>
    </table>

    <h2>Order</h2>

    <table width="100%" border="0">
        <tr><th>            
            <?php echo __('Quantity','wplister') ?> 
        </th><th>
            <?php echo __('Name','wplister') ?> 
        </th><th>
            <?php echo __('Price','wplister') ?> 
        </th></tr>
        <tr><td width="20%">                      
            <?php echo $wpl_transaction['quantity'] ?> 
        </td><td>
            <?php echo $wpl_auction_item->auction_title ?>
            <?php if ( is_object( @$d->Variation ) ) : ?>
                <?php foreach ($d->Variation->VariationSpecifics as $spec) : ?>
                    <br> -
                    <?php echo $spec->Name ?>:
                    <?php echo $spec->Value[0] ?>
                <?php endforeach; ?>
            <?php endif; ?>
        </td><td>
            <?php echo number_format_i18n( $wpl_auction_item->price, 2 ) ?> &euro;
        </td></tr>
    </table>

        
	
           
    <pre><?php #print_r( $d ); ?></pre>
    <pre><?php #print_r( $wpl_auction_item ); ?></pre>


</body>
</html>
Back to Top