GPAY_BIN_NUMBER
Type: string Default: "GPAY00" Description: The BIN number used to look up the virtual card record for Garanti Pay (GPay) transactions.
Configured in settings.py as a plain Django setting:
GPAY_BIN_NUMBER = "GPAY00"The value is used during
GPaySelectionPageprocessing to retrieve aBinNumberobject and its associated card from the database. The resulting card information is stored in the checkout session ascard_infoand the order number is assigned.If no
BinNumberrecord matching this value exists in the database, the order number is reset andcard_infois cleared, causing the preconditions forGPayRedirectPageto fail and routing the user back to the payment option selection step.The default value
"GPAY00"is used when the setting is not explicitly defined insettings.py.
Used in: GPaySelectionPage.process_pre_order() — BIN number lookup for GPay virtual card assignment. Indirectly affects GPayRedirectPage preconditions (check_card_info_not_empty, check_order_number_not_empty).
Last updated
Was this helpful?

