PaymentWall & website by Rauno

Results 1 to 5 of 5
  1. #1
    Proficient Member CoreAI is offline
    MemberRank
    Apr 2013 Join Date
    177Posts

    PaymentWall & website by Rauno

    Hey all,

    I am currently using a website by Rauno on my gunz site. And I implemented the PaymentWall script by SuperWaffle here - http://forum.ragezone.com/f245/gunz-...-adder-806116/

    The coin system seems to work, it adds coins to a user account so I assume everything was working great, I do a test pingback on PaymentWall and it errors.. after each test the coin DOES get added to the user account, but the error returns this:

    Pingback wasn't successful. Reason: Response body does not match the expected pattern: OK

    If anyone can help that would be great. Website is here: Core Gunz no advertising intended..


  2. #2
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: PaymentWall & website by Rauno

    I believe you should add echo 'OK'; after the header function. (Which is after line 37 in the script.)

  3. #3
    Proficient Member CoreAI is offline
    MemberRank
    Apr 2013 Join Date
    177Posts

    Re: PaymentWall & website by Rauno

    Thanks, that worked but now when I try to perform a chargeback test it returns as:

    Code:
    HTTP/1.0 200 OK
    Date: Wed, 08 May 2013 16:31:41 GMT
    Server: Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
    X-powered-by: PHP/5.3.1
    Content-length: 583
    Content-type: text/html
    Connection: close
    
    
    OK<br />
    <b>Warning</b>:  mssql_query() [<a href='function.mssql-query'>function.mssql-query</a>]: message: The UPDATE statement conflicted with the FOREIGN KEY constraint &quot;PremiumGrade_Account_FK1&quot;. The conflict occurred in database &quot;GunzDB&quot;, table &quot;dbo.PremiumGrade&quot;, column 'PGradeID'. (severity 16) in <b>C:\xampp\htdocs\paymentwall.api.php</b> on line <b>12</b><br />
    <br />
    <b>Warning</b>:  mssql_query() [<a href='function.mssql-query'>function.mssql-query</a>]: Query failed in <b>C:\xampp\htdocs\paymentwall.api.php</b> on line <b>12</b><br />

  4. #4
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: PaymentWall & website by Rauno

    There's most likely no relation between Account.PGradeID -> PremiumGrade.PGradeID.
    Add 253 in the PremiumGrade table. (PGradeID is kind of optional in the ban query.)

  5. #5
    Proficient Member CoreAI is offline
    MemberRank
    Apr 2013 Join Date
    177Posts

    Re: PaymentWall & website by Rauno

    Quote Originally Posted by SuperWaffle View Post
    There's most likely no relation between Account.PGradeID -> PremiumGrade.PGradeID.
    Add 253 in the PremiumGrade table. (PGradeID is kind of optional in the ban query.)
    Thats great, thank you so much for your help, all working now.



Advertisement