Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

SteamCallback not working

Hi, I am currently working on Microtransactions with Steam. The serverside Part of the whole transaction process is already working and currently i need to implement the SteamCallback OnMicroTxnAuthorizationResponse after I click "authorize" in my SteamOverlay. However the Callback is not working at the Moment, this is how I got so far: Header file:

 #include "steam/steam_api.h"
 #include "steam/isteamuser.h"
 * Controller UCLASS
 class SteamCallbacks{
     STEAM_CALLBACK(SteamCallbacks, OnMicroTxnAuthorizationResponse, MicroTxnAuthorizationResponse_t, m_MicroTxnAuthorizationResponse);

CPP File:

     : m_MicroTxnAuthorizationResponse(this, &SteamCallbacks::OnMicroTxnAuthorizationResponse)
 void SteamCallbacks::OnMicroTxnAuthorizationResponse(MicroTxnAuthorizationResponse_t *pCallback){
     GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT("CALLBACK RECEIVED"));

This Class is in a PlayerController which is parent to a BlueprintController which is DefaultController in a shop only Gamemode. In addition im calling SteamAPI_RunCallbacks() every frame from a blueprint library. I do not know what I am missing to make the callback work and neither the Steamworks Documentation nor the example project are helpfull.

I hope someone knows how to fix my issue.

Kind Regards Alex

Product Version: UE 4.10
more ▼

asked Feb 09 '16 at 10:26 AM in C++ Programming

avatar image

8 3 4 9

avatar image cyrez Feb 13 '16 at 05:19 AM

bumping this to the front overview ... since we want to avoid the web-based process, preferring the ingame solution.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first


more ▼

answered Sep 25 '17 at 07:14 PM

avatar image

86 2 6 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question