in

AlertPay Developers Community

[AP Staff please] alert url $_post data and return url $_get data

Last post 10-22-2009 1:24 PM by AlertPay_Chris. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 10-22-2009 2:13 AM

    • meo
    • Top 50 Contributor
    • Joined on 08-01-2008
    • Posts 16

    [AP Staff please] alert url $_post data and return url $_get data

    Hi,

    When after test payment when it redirects to returm url it has a get data that seems to be encrypted i.e. [AP] => XaKx5TtrW8RAOtbx3qXzI8SuiMGmg0AdRV5zAY9S0frUCiv7iXCrGTnwvLWevcQGBQpNaKXQZAjzUa4qkGzZ+kZSrO......... so on.

    How do I use it? any way to decrypt it?

     

    Additionally, could anyone tell me what is returned on the  ap_totalamount,  ap_feeamount,  ap_netamount post data on alert url? can't find it on integration guide.

    This is my asumption please correct me if I'm wrong.

    ap_totalamount = amount for product?
    ap_feeamount = fee that's ap charges me 6.40% + 0.59 of the amount (if credit card)?
    ap_netamount = ap_totalamount - ap_feeamoun?

  • 10-22-2009 9:13 AM In reply to

    Re: [AP Staff please] alert url $_post data and return url $_get data

    In your account, set Allow Encrypted Return URL IPN:     Disabled
    That should do it.

    And for your other question this will awnser you.

    Ex:
    ap_totalamount=10.00
    ap_feeamount=0.75
    ap_netamount=9.25

  • 10-22-2009 9:34 AM In reply to

    Re: [AP Staff please] alert url $_post data and return url $_get data

    Hello,

    Unfortunately, the encrypted string in the return URL feature is currently in beta mode and we will soon release the proper documentation and sample code for you to use it. For the time being, we would advise against is usage.

    Since Beaster has already provided you with the format of the value that these variables may hold, here is a full description for each of them.

    ap_totalamount: The final amount paid by the buyer, before transaction fee is subtracted.

    ap_netamount*:The amount received after the fees are applied. It is calculated the following way: ap_netamount=ap_totalamount-ap_feeamount

    ap_feeamount*: The fee amount that was applied to a transaction.

    *Please note that ap_netamount & ap_feeamount are currenctly only being sent for a real transaction. Since no fees are being applied when Test Mode is ON, those variables will hold a value of 0.0

    ***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.***
  • 10-22-2009 1:13 PM In reply to

    • meo
    • Top 50 Contributor
    • Joined on 08-01-2008
    • Posts 16

    Re: [AP Staff please] alert url $_post data and return url $_get data

    Thanks! :)

    Any idea when the feature becomes fully functional?

  • 10-22-2009 1:24 PM In reply to

    Re: [AP Staff please] alert url $_post data and return url $_get data

    Approximately one month. Please contact myself or AlertPay_Phoun via PM if you would like to help beta test the feature and provide feedback.

Page 1 of 1 (5 items)

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