Ejemplo n.º 1
0
 /// <summary>
 /// Requests a one-time payment based on the options passed. 
 /// This method call will present a pop-up to the user where they will be given the opportunity to either authorize or decline the transaction.
 /// </summary>
 /// <param name="options"></param>
 /// <example>
 /// <code>
 /// var charge = { "Amount":0.99,
 /// "Category":1,
 /// "Channel":"MOBILE_WEB",
 /// "Description":"better than level 1",
 /// "MerchantTransactionId":"skuser2985trx20111029175423",
 /// "MerchantProductId":"level2"}
 /// provider.requestPayment({
 ///     paymentOptions : charge,
 ///     success : successCallback,
 ///     failure : failureCallback
 /// });
 /// </code>
 /// </example>
 public JsObject requestPayment(RequestOptions options) { return null;}
Ejemplo n.º 2
0
 /// <summary>
 /// Requests a one-time payment based on the options passed. 
 /// This method call will present a pop-up to the user where they will be given the opportunity to either authorize or decline the transaction.
 /// </summary>
 /// <param name="options"></param>
 /// <example>
 /// <code>
 /// var charge = { "Amount":0.99,
 /// "Category":1,
 /// "Channel":"MOBILE_WEB",
 /// "Description":"better than level 1",
 /// "MerchantTransactionId":"skuser2985trx20111029175423",
 /// "MerchantProductId":"level2"}
 /// provider.requestPayment({
 ///     paymentOptions : charge,
 ///     success : successCallback,
 ///     failure : failureCallback
 /// });
 /// </code>
 /// </example>
 public void requestPayment(RequestOptions options) { }
Ejemplo n.º 3
0
 /// <summary>
 /// Requests a subscription based on the payment options passed. 
 /// This method will present a popup to the user where they will be given the opportunity to authorize or decline the transaction with AT&T.
 /// </summary>
 /// <param name="options"></param>
 /// <example>
 /// Success callback example (when payments work)
 /// <code>
 ///  function(results) { console.log("payment worked!", results.error, results.error_reason, results.error_description);}
 /// </code>
 /// </example>
 /// <example>
 /// Failure callback examples (when the user cancels or the payment doesn't complete)
 /// <code>
 /// function(results) { console.log("payment worked!", results.error, results.error_reason, results.error_description);}
 /// </code>
 /// </example>
 /// in the case of user cancel you will get something like this:
 /// <example>
 /// <code>
 ///  error: "access_denied"
 /// error_description: "The user denied your request"
 /// error_reason: "user_denied"
 /// </code>
 /// </example>
 public JsObject requestPaidSubscription(RequestOptions options) { return null;}
Ejemplo n.º 4
0
 /// <summary>
 /// Requests a subscription based on the payment options passed. 
 /// This method will present a popup to the user where they will be given the opportunity to authorize or decline the transaction with AT&T.
 /// </summary>
 /// <param name="options"></param>
 /// <example>
 /// Success callback example (when payments work)
 /// <code>
 ///  function(results) { console.log("payment worked!", results.error, results.error_reason, results.error_description);}
 /// </code>
 /// </example>
 /// <example>
 /// Failure callback examples (when the user cancels or the payment doesn't complete)
 /// <code>
 /// function(results) { console.log("payment worked!", results.error, results.error_reason, results.error_description);}
 /// </code>
 /// </example>
 /// in the case of user cancel you will get something like this:
 /// <example>
 /// <code>
 ///  error: "access_denied"
 /// error_description: "The user denied your request"
 /// error_reason: "user_denied"
 /// </code>
 /// </example>
 public void requestPaidSubscription(RequestOptions options) { }