ExecutePayment Method
Runs a payment that was previously created.
Syntax
[VB.NET] Public Sub ExecutePayment(ByVal PaymentKey As String)
[C#] public void ExecutePayment(string paymentKey);
Remarks
This method runs a payment that was previously created using the CreatePayment method. Creating and later executing payments is useful, because after creating a payment with the CreatePayment method, you can use the SetPaymentOptions method to modify any payment settings you wish to change before actually running the transaction. After everything is set up, pass the PaymentKey to the ExecutePayment method to fulfill the transaction.
If you do not need to change any payment settings, simply call the Pay method instead of using CreatePayment and ExecutePayment.