Syntax
logMemberAccess( purchase_id, platform_name, login_name, login_url,
number_of_unlocked_lectures, total_number_of_lectures,
login_at='now' )
Notifies Digistore, that a buyer has logged in his Membership account and accessed the bought content.
This is important only for German refund handling - and only for purchases without the option to refund. For these purchase refund_days=0 is transmitted via ipn.
If you do not sell via Digistore Germany or if you allow a 14 day (or longer) refund policy, you don't need this api function.
Important: Only call this function, if the buyer actually has logged in. Otherwise we will not be able to use this information for refund handling.
Access rights
Full access required.
Parameters
purchase_id – the id of the purchase
platform_name – the readable name of the member ship area, e.g. vip club
login_name – the buyer's user name for the membership area
login_url – the url the buyer used to login.
number_of_unlocked_lectures – Number of lectures the member has access, because he bought the course belonging to the purchase with the given purchase_id.
total_number_of_lectures – Total number of lectures of the course - i.e. the number of unlocked and still locked lectures.
login_at – date time - optional - defaults to 'now'. Use for batch logging.
Return data
none