MediaWiki fundraising/REL1_35
AstroPaySignature Class Reference
Inheritance diagram for AstroPaySignature:
Collaboration diagram for AstroPaySignature:

Public Member Functions

 stage (GatewayType $adapter, $normalized, &$stagedData)
 Sign an AstroPay NewInvoice request TODO: switch on transaction, build correct message for refund.
 

Static Public Member Functions

static calculateSignature (GatewayType $adapter, $message)
 
static getNewInvoiceMessage ( $stagedData)
 

Detailed Description

Definition at line 3 of file AstroPaySignature.php.

Member Function Documentation

◆ calculateSignature()

static AstroPaySignature::calculateSignature ( GatewayType $adapter,
$message )
static

Definition at line 41 of file AstroPaySignature.php.

References GatewayType\getAccountConfig().

Referenced by stage(), and AstroPayAdapter\verifyStatusSignature().

◆ getNewInvoiceMessage()

static AstroPaySignature::getNewInvoiceMessage ( $stagedData)
static

Definition at line 16 of file AstroPaySignature.php.

Referenced by AstroPayAdapter\processNewInvoiceResponse(), and stage().

◆ stage()

AstroPaySignature::stage ( GatewayType $adapter,
$normalized,
& $stagedData )

Sign an AstroPay NewInvoice request TODO: switch on transaction, build correct message for refund.

Parameters
GatewayType$adapter
array$normalized
array&$stagedData

Implements StagingHelper.

Definition at line 11 of file AstroPaySignature.php.

References calculateSignature(), and getNewInvoiceMessage().


The documentation for this class was generated from the following file: