VivaPayments / API

Index of Viva Wallet open source projects on GitHub.
139 stars 163 forks source link

Σύνδεσή Viva Payment Gateaway με WooComerce eShop #355

Closed jimarasss1 closed 7 years ago

jimarasss1 commented 7 years ago

Καλησπέρα μόλις σήμερα έκανα την πρώτη εγγραφή μου στο Viva Wallet και έχω μερικές απορείς ως προς την σύνδεση του με το eShop μου.

Αρχικά βρήκα ένα word press plug in για το Viva Wallet και το πέρασα κανονικά. Απλά σαν μόνη δυνατότητα για πληρωμή μέσω Viva Wallet δίνει : 1) Μέσω κάρτας 2) Μέσω Viva Wallet Funds. Θα ήθελα να ενεργοποιήσω την δυνατότητα πληρωμής μέσω των Viva Spots αλλά και του Pay@Home. Πως μπορώ να το κάνω;

Ευχαριστώ πολύ εκ των προτέρων.

VivaWalletSupport commented 7 years ago

Have a look at the available options https://github.com/VivaPayments/API/wiki/Optional-Parameters At the moment you would have to modify the wc-vivawallet.php file ($poststring['PaymentTimeOut'] = '300';) and set the timeout to at least 2 working days (change 300 to 65535 to never timeout).

jimarasss1 commented 7 years ago

Hello and thanks for your reply. After the modification I could normaly do transactions with cash options available?

The "DisableCash" and "DisablePayAtHome" is something that I can not find at the .php.

VivaWalletSupport commented 7 years ago

You should be able to, as you do not want to disable these methods you do not have to use these parameters.

⁣Sent from BlueMail ​

On 20 Jul 2017 00:40, at 00:40, jimarasss1 notifications@github.com wrote:

Hello and thanks for your reply. After the modification I could normaly do transactions with cash options available?

The "DisableCash" and "DisablePayAtHome" is something that I can not find at the .php.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/VivaPayments/API/issues/355#issuecomment-316525968

jimarasss1 commented 7 years ago

I changed the PaymentTimeOut but still I got the message Order code expires on : 7/20/2017 15:00 and still not any other payment options available. Any solution?

jimarasss1 commented 7 years ago

Thats my php file. Still code expires early. wc-vivawallet.zip

VivaWalletSupport commented 7 years ago

Also make the change a little below, in following line:

$postargs = 'Amount='.urlencode($poststring['Amount']).'&RequestLang='.urlencode($poststring['RequestLang']).'&Email='.urlencode($poststring['Email']).'&MaxInstallments='.urlencode($poststring['MaxInstallments']).'&MerchantTrns='.urlencode($poststring['MerchantTrns']).'&SourceCode='.urlencode($poststring['SourceCode']).'&PaymentTimeOut=300';

jimarasss1 commented 7 years ago

Thank you very much! Issue solved! :)