NetTalk Central

Author Topic: CC Processing  (Read 5789 times)

ajosuna

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • Email
CC Processing
« on: December 14, 2009, 05:04:45 PM »
Hi:

I like to disable the submit(save) button while a CC is being processed. How can I disable this button at runtime?

Regards

Anthony.

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: CC Processing
« Reply #1 on: December 15, 2009, 06:08:55 AM »
Try to uncheck having a save button and then add your own save button - you should then be able to then hide the button. Also, Bruce posted a technique he uses with CC processing which actually may be the best approach - try to search the NG on Credit Card.

Kev

ajosuna

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • Email
Re: CC Processing
« Reply #2 on: December 15, 2009, 11:14:03 AM »
Hi Kevin:

I searched for Credit Card and couldn't find anyting related to this question. I guess a progress bar or just please wait window would also work. The delay can cause duplicate orders. A quick fix should be just to disable the button.

Regards

Antony.

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: CC Processing
« Reply #4 on: December 16, 2009, 12:21:44 AM »
Hi Anthony,

Std behaviour for (NetTalk) Save and Cancel buttons is to disable themselves after they've been pressed.
Actually a lot of the NetTalk buttons do this.

So there should be no problem with a user pressing a button twice while the backend is busy.

cheers
Bruce



Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: CC Processing
« Reply #5 on: December 16, 2009, 04:54:42 AM »
the target for the form should be empty ('') or '_self'

Cheers
Bruce

ajosuna

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • Email
Re: CC Processing
« Reply #6 on: December 16, 2009, 02:05:48 PM »
Hi Bruce:

Changing the target to _self did the trick.

Thanks

Anthony