Difference between revisions of "ACTA:ApproveByCreditCard"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0428|1|4}} {{IPC/RequestEntry|u8, Account slot}} {{IPC/CopyHandle|1}} {{IPC/CopyHandleEntry|Completion event handle}} {{IPC/Tra...")
 
 
Line 14: Line 14:
 
{{IPC/RequestEntry|Result code}}
 
{{IPC/RequestEntry|Result code}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
 +
 +
=Description=
 +
Requests COPPA parental consent using the given credit card information. The account slot must be 0xFE. Therefore, this command can only be used with the currently loaded account.
  
 
=CreditCardInfo=
 
=CreditCardInfo=
Line 34: Line 37:
 
| 0x1F || 0x100 + 0x1 || NULL-terminated 256-character ASCII Email
 
| 0x1F || 0x100 + 0x1 || NULL-terminated 256-character ASCII Email
 
|}
 
|}
 
=Description=
 
Requests COPPA parental consent using the given credit card information. The account slot must be 0xFE. Therefore, this command can only be used with the currently loaded account.
 

Latest revision as of 22:12, 23 January 2025

Request[edit]

Index Word Description
0
Header 0x04280044 Cmd 0x0428 Param 1 Xlat 4
1 u8, Account slot
2 Descriptor for copying 1 handle
3 Completion event handle
4 Descriptor for static buffer (id 0)
5 CreditCardInfo

Response[edit]

Index Word Description
0
Header 0x04290040 Cmd 0x0429 Param 1 Xlat 0
1 Result code

Description[edit]

Requests COPPA parental consent using the given credit card information. The account slot must be 0xFE. Therefore, this command can only be used with the currently loaded account.

CreditCardInfo[edit]

Offset Size Description
0x0 0x1 u8, CardType
0x1 0x10 + 1 NULL-terminated 16-character ASCII CardNumber
0x12 0x3 + 1 NULL-terminated 3-character ASCII SecurityCode
0x16 0x1 u8, ExpirationMonth
0x17 0x1 u8, ExpirationYear
0x18 0x7 NULL-terminated 6-character ASCII PostalCode
0x1F 0x100 + 0x1 NULL-terminated 256-character ASCII Email