How difficult is it to actually set up a payment gateway with say, Paypal? and do u need to code a script which validates a purchase to say that the person has payed for the product which then rights it to the customer details on the database?