i want to dynamically send "amount " value while creating the payment request

Posted in General by Avinash Mon Jan 15 2018 17:29:07 GMT+0000 (UTC)·1·Viewed 358 times

i have dynamic amount value , when i am assigning it to amount vraibale in php , i observed code is not working. $payload = Array( 'purpose' => 'Bike Service', 'amount' => '$amount', 'phone' => '9999999999', 'buyer_name' => 'Avinash', 'redirect_url' => 'http://www.example.com/redirect/', 'send_email' => true, 'webhook' => 'http://www.example.com/webhook/', 'send_sms' => true, 'email' => 'foo@example.com', 'allow_repeated_payments' => false ); So , can you please tell me , how to assign dynamic value to the amount variable in the array to Payload Regards, Avinash
Jan 17, 2018

Hi Team,

could you please update and help me??

Markdown is allowed