How PIN numbers work

Upon completion of an order, VPCART checks the type of payment made against a list of valid payment types defined in the shop configuration:

 

Xendofordervalidpayments

This is a comma-delimited list of payments that allow digital goods to be delivered automatically. If the customer’s payment type does not match an item in this list, they will not receive the file automatically. Default is Visa,Mastercard.

 

If the payment type matches, it looks up the product record in the pinnumbers table and tries to locate a free PIN Numberfor each product ordered.

 

It then sends the customer an email with that PIN number on it. If multiple products with PIN numbers are ordered, multiple emails will be sent.

 

If no PIN numbers exist, the customer receives a message to contact the merchant to receive their PIN number.