Alpha Video Training
Results 1 to 3 of 3

Thread: Stripe Checkout issue...

  1. #1
    Member
    Real Name
    Dave Brown
    Join Date
    Apr 2010
    Posts
    64

    Default Stripe Checkout issue...

    Anyone have any success yet with Stripe Checkout Integration?

    I simply went in and added the function to call Stripe - within setup of this integrated Stripe function is callout to a javascript function which I copied from the YouTube alpha has put out on the integration.

    I get a javascript error indicating "charge value is not a number" which is triggered right at var n = $u.s.toNum({dialog.object}.getvalue('GrandTotal')) where GrandTotal is the field on my UX with the value I want to charge through Stripe....

    If I just assign a hardcoded value to n, it works fine - not sure why the getvalue is not returning a valid number...

    Anyone have any experience with Stripe, and what might be happening here?

    function GetAmount() {
    // get value and convert decimal value ot cents, required by stripe
    debugger;
    var n = $u.s.toNum({dialog.object}.getvalue('GrandTotal'))
    n *= 100;
    return Math.round(n);
    }

  2. #2
    Member
    Real Name
    Dave Brown
    Join Date
    Apr 2010
    Posts
    64

    Default Re: Stripe Checkout issue...

    Never mind, not sure what was going on but it is working just fine now... Thanks.

  3. #3
    "Certified" Alphaholic CharlesParker's Avatar
    Real Name
    Charles Parker
    Join Date
    Dec 2012
    Location
    New Orleans, LA
    Posts
    2,115

    Default Re: Stripe Checkout issue...

    probably a cache issue...
    NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

Similar Threads

  1. STRIPE Only returns USD - Anyone know a solution I need AUD
    By peteconway in forum Mobile & Browser Applications
    Replies: 5
    Last Post: 08-15-2015, 08:59 AM
  2. Logo showing up in Paypal checkout
    By cbauer50 in forum Alpha Five Version 9 - Desktop Applications
    Replies: 2
    Last Post: 02-23-2011, 10:11 AM
  3. checkout process help needed
    By leetv in forum Application Server Version 10 - Web/Browser Applications
    Replies: 0
    Last Post: 08-22-2010, 07:55 AM
  4. checkout files - where are they?
    By CALocklin in forum Application Server Version 9 - Web/Browser Applications
    Replies: 4
    Last Post: 07-28-2009, 01:04 PM
  5. Hardware Checkout Calendar Web Component
    By despodleous3 in forum Application Server Version 8
    Replies: 4
    Last Post: 10-31-2007, 12:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •