Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebook Credits Callback on Django
    primarykey
    data
    text
    <p><strong>This question is following a previous one which i posted:</strong> <a href="https://stackoverflow.com/questions/9035497/django-callback-on-facebook-credits">Django Callback on Facebook Credits</a></p> <p>So basically, I have a static HTML page with a button. Upon pressing of the button the purchase dialog for Facebook Credits should show up.</p> <p>As shown in the <a href="http://developers.facebook.com/blog/post/489/" rel="nofollow noreferrer">Facebook blog post</a>, here is my page <a href="http://testdare7ad6f.tradedare.webfactional.com/fb_credits_test/" rel="nofollow noreferrer">link</a> view the HTML source.</p> <p>I have a view for the <a href="http://testdare7ad6f.tradedare.webfactional.com/fb_credits_callback/" rel="nofollow noreferrer">URL</a>, which is the link that is registered in Facebook Developers. The view goes as followed:</p> <pre><code>def fb_credits_callback(request): #Data array that will be returned data = { } string = '' if request.method == 'GET': string = 'GET' elif request.method == 'POST': string = 'POST' send_mail( 'TestDare Debug', 'Received '+string+" request", 'registration@my_domain.com', ['my_personal_email@gmail.com'], fail_silently=True ) signed_request = request['signed_request'] plain_request = parse_signed_request(signed_request, FACEBOOK_APP_ID) </code></pre> <p>Now naturally this is only a preliminary test (there's much debugging to do later), but I don't even receive the email when I click the button on my page. Which means that for some reason Facebook is not executing the callback to my application. If I execute a GET to that view I receive an email as expected.</p> <p>Upon clicking the button I get the following error:</p> <p>"There Was a Problem Processing Your Payment Sorry, but we're having trouble processing your payment. You have not been charged for this transaction. Please try again."</p> <p>If someone could help me trace why the callback is not working I would really appreciate it.</p> <p>Thank you</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload