Tanya bang #18
Unanswered
JayFromIndonesia
asked this question in
Q&A
Replies: 2 comments 1 reply
-
lgsung json_decode saja gaperlu di json_encode $send_otp = $app->sendOtp('+628XXXXXXXXXX');
$json = json_decode($send_otp , true);
echo $json['data']['otp']['otp_ref_id']; |
Beta Was this translation helpful? Give feedback.
0 replies
-
untuk mengetahui url yang di gunakan pada aplikasi ovo menggunakan aplikasi apa ya? untuk capture nya |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bang, ini ambil data dari $app->sendOtp('+628XXXXXXXXXX'), dkk nya gimana yah?
saya coba seperti ini tapi gagal :
$json = $app->sendOtp('+628XXXXXXXXXX');
$chresult = json_encode($json);
$json_result = json_decode($chresult, true);
echo $json_result; // work
echo $json_result['response_message']; // not work
echo $json_result['data']['otp']['otp_ref_id']; // not work
Beta Was this translation helpful? Give feedback.
All reactions