Closed jspit closed 2 months ago
Hello @jspit,
Thank you for your message and apologies for the late response. Can you please clarify which API call are you trying to implement?
Kind regards, Viva E-commerce Support Team
$url = "https://demo-api.vivapayments.com/ecr/v1/devices:search"; $params= array( "statusId" => 1, "sourceCode" => "9504" );
On Thu, 29 Aug 2024 at 15:11, VivaWalletCustomerSupport < @.***> wrote:
Hello @jspit https://github.com/jspit,
Thank you for your message and apologies for the late response. Can you please clarify which API call are you trying to implement?
Kind regards, Viva E-commerce Support Team
— Reply to this email directly, view it on GitHub https://github.com/VivaPayments/API/issues/2540#issuecomment-2317621245, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQEH45JRE63SY5TQPHSWH3ZT4MZBAVCNFSM6AAAAABMEYLAKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJXGYZDCMRUGU . You are receiving this because you were mentioned.Message ID: @.***>
-- Jesmond Spiteri
Hello @jspit,
This call allows you to discover the current status of the EFT POS devices. If you want to send the amount to a POS device please check the initiate a Sales Request API call.
Kind regards, Viva E-commerce Support Team
Hi Yes that is what I am trying to do But before I send a Sales Request, I need the dive virtual name/id Remember I am only in testing phase - I don't have a physical device
I'm using the "testing" url calls not the live ones
Thanks
On Wed, 4 Sept 2024 at 13:50, VivaWalletCustomerSupport < @.***> wrote:
Hello @jspit https://github.com/jspit,
This call allows you to discover the current status of the EFT POS devices. If you want to send the amount to a POS device please check the initiate a Sales Request https://developer.viva.com/apis-for-point-of-sale/card-terminals-devices/rest-api/eft-pos-api-documentation/#tag/Transactions/paths/~1ecr~1v1~1transactions:sale/post API call.
Kind regards, Viva E-commerce Support Team
— Reply to this email directly, view it on GitHub https://github.com/VivaPayments/API/issues/2540#issuecomment-2328746726, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQEH432EYU7DABZVC645JLZU3XWVAVCNFSM6AAAAABMEYLAKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYG42DMNZSGY . You are receiving this because you were mentioned.Message ID: @.***>
-- Jesmond Spiteri
Hello @jspit,
Thank you for your prompt response. Please share your gmail account at support@viva.com , it will be added to our whitelist. You will then be able to download the demo APP and create a virtual terminal for testing purposes,
Kind regards, Viva E-commerce Support Team
My email address is @.***
please share it so that it can be added to your whitelist
//========================================
Thank you for your prompt response. Please share your gmail account at @.*** , it will be added to our whitelist. You will then be able to download the demo APP https://developer.viva.com/getting-started/download-demo-pos-app/ and create a virtual terminal for testing purposes,
Kind regards, Viva E-commerce
On Thu, 5 Sept 2024 at 13:33, VivaWalletCustomerSupport < @.***> wrote:
Hello @jspit https://github.com/jspit,
Thank you for your prompt response. Please share your gmail account at @.*** , it will be added to our whitelist. You will then be able to download the demo APP https://developer.viva.com/getting-started/download-demo-pos-app/ and create a virtual terminal for testing purposes,
Kind regards, Viva E-commerce Support Team
— Reply to this email directly, view it on GitHub https://github.com/VivaPayments/API/issues/2540#issuecomment-2331288647, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQEH433INK5EWPNBCYAOQDZVA6QXAVCNFSM6AAAAABMEYLAKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZRGI4DQNRUG4 . You are receiving this because you were mentioned.Message ID: @.***>
-- Jesmond Spiteri
Hello @jspit,
Thank you for your swift response. Please share your gmail account at support@viva.com , we can't access it here.
Kind regards, Viva E-commerce Support Team
This ticket will close for now. Please don't hesitate to raise a new ticket if you need further assistance.
Kind regards, Viva E-commerce Support Team
I just want to send the amount to viva wallet device
I have managed to get the accesstoken From the dashboard, I've created the store (if needed) $params= array( "statusId" => 1, "sourceCode" => "9504" ); $headers[] = 'Authorization: Bearer ' . $ac; $headers[] = 'ClientID: ' . $sid; $headers[] = 'ClientSecret: ' . $secret; $headers[] = 'application/x-www-form-urlencoded'; curl_setopt($ch, CURLOPT_POSTFIELDS, $params); tried above - internal server error being returned from curl
tried $headers[] = 'Content-Type: application/json'; curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($params)); only [] is being returned
Is there any test device sourcode that I can use ?
Thanks