PayPal mc_gross format number?

前端 未结 1 1044
感动是毒
感动是毒 2021-01-29 04:42

I\'m working on an php ipn script. but i\'m stuck on mc_gross check.

I store the amounts in database in this format (not number format):

1000
100
10000
<         


        
1条回答
  •  梦毁少年i
    2021-01-29 05:34

    one option:

    if($my_val==  intval(str_replace(',', '', $pay_pal_val)){
    //alll good
    }
    

    0 讨论(0)
提交回复
热议问题