in

AlertPay Developers Community

Help

Last post 03-26-2009 9:21 AM by tixy2008. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 03-06-2009 3:36 PM

    Help

    I'm trying to get this Alertpay processor integrated to my site and I'm at such a loss as to what to do.

    First of all I need to be able to chanhe the value in the app_quantity, based on what a user picks from a drop down list.

    At the moment the value is set to one, can it be changed to it can be 1,2,3,4 etc?

    Pls help

  • 03-06-2009 3:51 PM In reply to

    Re: Help

    Hello,

    If you wish to make a Buy Now button without a specific quantity, please refer to the following thread:

    http://dev.alertpay.com/forums/p/2854/5799.aspx#5799

     

     

    ***This is a Developers Forum, any other questions should be addressed to our Customer Support department or you can find the answers in our FAQ page.***
  • 03-06-2009 4:41 PM In reply to

    Re: Help

     Ok thanks for that it was extremely helpful.

    Just one very strange problem. In the code below you'll see I have 2 forms that post to Alertpay. Now for some reason - unless I have the first one - the second one with the buttons etc doesn't work! Is this normal?

     
    <form method="post" action="https://www.alertpay.com/PayProcess.aspx">
                    </form>
                    <form method="post" action="https://www.alertpay.com/PayProcess.aspx">
                        <input type="hidden" name="ap_purchasetype" value="item-goods" />
                        <input type="hidden" name="ap_merchant" value=webmaster@mydoamin.com />
                        <input type="hidden" name="ap_itemname" value="Competition Entry" />
                        <input type="hidden" name="ap_currency" value="GBP" />
                        <input type="hidden" name="ap_returnurl" value="http://www.alertpay.com" />
                        <input type="hidden" name="ap_itemcode" value="007" />
                        <label>
                            Quantity:</label>
                        <select id="ap_quantity" name="ap_quantity">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            <option value="10">10</option>
                        </select>
                        <input type="hidden" name="ap_description" value="..." />
                        <input type="hidden" name="ap_amount" value="20.00" />
                        <input type="hidden" name="ap_cancelurl" value="http://dev.alertpay.com" />
                        <input type="image" name="ap_image" src="https://www.alertpay.com//PayNow/8DFAEE3149494DFA832AF82BA1DFEC3Cg.gif" />
                    </form>

  • 03-06-2009 5:16 PM In reply to

    Re: Help

    Hello,

    You can remove the first 2 lines which is the extra form, it's not the cause of your issue. Under ap_merchant you have provided this email address webmaster@mydoamin.com which will cause an error saying "We're sorry,this email does not exist with AlertPay." because it does not exist in our system.

    Please use the email address associated with your AlertPay account. Below, I have copy/pasted your code above and replaced the ap_merchant field with my email address. If you were to put this code into a HTML file, your Buy Now button will work and the merchant will display "AlertPay_Phoun DevForum"


        <form method="post" action="https://www.alertpay.com/PayProcess.aspx">
                      <input type="hidden" name="ap_purchasetype" value="item-goods" />
                      <input type="hidden" name="ap_merchant" value="apdevforum@gmail.com" />
                      <input type="hidden" name="ap_itemname" value="Competition Entry" />
                      <input type="hidden" name="ap_currency" value="GBP" />
                      <input type="hidden" name="ap_returnurl" value="http://www.alertpay.com" />
                      <input type="hidden" name="ap_itemcode" value="007" />
                      <label>
                            Quantity:</label>
                        <select id="ap_quantity" name="ap_quantity">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            <option value="10">10</option>
                      </select>
                      <input type="hidden" name="ap_description" value="..." />
                      <input type="hidden" name="ap_amount" value="20.00" />
                      <input type="hidden" name="ap_cancelurl" value="http://dev.alertpay.com" />
                      <input type="image" name="ap_image" src="https://www.alertpay.com//PayNow/8DFAEE3149494DFA832AF82BA1DFEC3Cg.gif" />
        </form>

    ***This is a Developers Forum, any other questions should be addressed to our Customer Support department or you can find the answers in our FAQ page.***
  • 03-06-2009 5:51 PM In reply to

    Re: Help

     Actually mate - I only changed the email address so it didn't show up on here! I can assure you the correct email address is there.

    Any thoughts with this in mind?

  • 03-06-2009 5:52 PM In reply to

    Re: Help

     Actually buddy, the email address I have in my actual code is the correct one. I just changed it when posting on here!

    Thanks for replying. Any further thoughts with this in mind?

  • 03-20-2009 10:13 AM In reply to

    Re: Help

     Hiya!

     

    This problem is still present! Any thoughts anyone please!!

    Also would love to hear from a C# developer with any suggestions on how to get the ipn working!

  • 03-20-2009 3:05 PM In reply to

    Re: Help

    Hello,

    The issue is not related to your extra form fields. If the button image doesn't appear with just the regular form, you should at least get a link that says "submit query" or something to that extent.

    From what I understand,  not putting the first empty form makes the entire second form disappear altogether? That is to say, you don't see any drop down menus nor the button?

  • 03-26-2009 9:21 AM In reply to

    Re: Help

     That's correct!

Page 1 of 1 (9 items)

  AlertPay - Verified by Visa AlertPay - secure credit card and checking services BBBOnline Reliability Program