def capture(self, amount, credit_card=None, billing_info=None, shipping_info=None):

        super(PlugnPay, self).set(self.REQUEST_FIELDS['trans_type'], 'authpostauth')
        super(PlugnPay, self).set(self.REQUEST_FIELDS['trans_mode'], 'auth')
        super(PlugnPay, self).set(self.REQUEST_FIELDS['amount'], amount)

        # validating or building up request
        if not credit_card:
            debug_string = "paython.gateways.plugnpay.capture()  -- No CreditCard object present. You passed in %s " % (credit_card)
            logger.debug(debug_string)

            raise MissingDataError('You did not pass a CreditCard object into the auth method')
        else:
            super(PlugnPay, self).use_credit_card(credit_card)

        if billing_info:
            super(PlugnPay, self).set_billing_info(**billing_info)

        if shipping_info:
            super(PlugnPay, self).set_shipping_info(**shipping_info)

        response, response_time = self.request()
        return self.parse(response, response_time)
Sends transaction for auth + capture (same day settlement) based on amount.
dataset/ETHPy150Open abunsen/Paython/paython/gateways/plugnpay.py/PlugnPay.capture