xanawa -3 Junior Poster

Hi I have the following code so far. Basically I have a drop down list were the user selects the type of membership he wants. When he clicks the button buy now from the database the membership cost and type are displayed in the pg. The problem is that I cannot figure out how to retrive a confirmation that the payment has been done successfully. Could you please help? I read alot of forums so far but did not understand anything since I am new in using paypal in websites. Thanks

<form method="post" id="frmMembershipPayment" action="https://www.paypal.com/cgi-bin/webscr" target="paypal">
            <input type="hidden" name="cmd" value="_cart">
            <input type="hidden" name="business" value="email@email.com">
            <input type="hidden" name="item_name" value="<?php echo htmlspecialchars($membershipType); ?>" />
            <input type="hidden" name="item_number" value="">
            <input type="hidden" name="amount" value="<?php echo htmlspecialchars($membershipCost); ?>" > 
            <input type="hidden" name="currency_code" value="EUR">
            <input type="hidden" name="shipping" value="">
            <input type="hidden" name="shipping2" value="">
            <input type="hidden" name="handling_cart" value="">
            <input type="hidden" name="bn"  value="ButtonFactory.PayPal.001">
            <input type="image" name="add" src="http://www.powersellersunite.com/buttonfactory/x-click-but23.gif">
        </form>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.