2 hours ago2 hr @Magd Almuntaser , There was a problem with the Duitku payment gateway. Here's the error:Carbon\Carbon::rawAddUnit(): Argument #3 ($value) must be of type int|float, string givenEarlier someone bought it but there was a problem here, so after the payment, there was an error. There's a problem with the controller in my Duitku payment gateway. I'm currently using PHP version 8.4, which likely doesn't support strings but instead uses integers.please fix it in new release 🙏. errorpayment_duitku.txt
2 hours ago2 hr @Magd Almuntaser On 8/27/2024 at 11:39 AM, Magd Almuntaser said:i think i will try today this library :wppconnect-team/wppconnectIt looks very beautiful Yes but what do you use? Do you use php? Or use the link directly?If you are using php you can use it like this:<?php function SendWhatsApp($sender_number, $api_key, $number, $text) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://yourwebsite.com/send-message?api_key='.$api_key.'&preview_url=true&sender='.$sender_number.'&number='.$number.'&message='.urlencode($text).''); curl_setopt($ch, CURLOPT_HEADER, FALSE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $result = curl_exec($ch); curl_close($ch); $result = str_replace(" ", "", $result); if($result){ return $result; }else{ return ""; } } // "yournumber", "api key", "recierv number", "msg" echo SendWhatsApp("62888xxxx", "nknfkl345ksdfk4KLhk45", "6281xxxxxx", "Hello World"); ?> If I want to send a file + text , can you tell me the script in the condition
2 hours ago2 hr Author 28 minutes ago, MUH ASHARI RASYID said:@Magd Almuntaser , There was a problem with the Duitku payment gateway. Here's the error:Carbon\Carbon::rawAddUnit(): Argument #3 ($value) must be of type int|float, string givenEarlier someone bought it but there was a problem here, so after the payment, there was an error. There's a problem with the controller in my Duitku payment gateway. I'm currently using PHP version 8.4, which likely doesn't support strings but instead uses integers.please fix it in new release 🙏.errorpayment_duitku.txtOk i will fix it in the next version.3 minutes ago, Shivendra Kr. Sahu said:@Magd Almuntaser If I want to send a file + text , can you tell me the script in the conditionOh you quoted my comment from a year ago..If you mean the webhook, you can go to api-docs in mpwa panel, then to webhook. You will find there below a link that will take you to GitHub. You will find many examples there.
41 minutes ago41 min hey my auto responder doesnt work in cpanel but any other things work what can be the issue@Magd Almuntaser Edited just now1 min by digil digil
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.