Comments (5)
Καλησπέρα bluemyria
Κοιτώντας το λογαριασμό σας, βλέπουμε κάποιες συναλλαγές που έγιναν στο source Default, το οποίο δεν έχει το url dev2.xorafaki.gr.
Θα πρέπει, κατά τη δημιουργία του Order, να περνάτε το SourceCode της εκάστοτε πηγής που θέλετε να χρησιμοποιήσετε
https://github.com/VivaPayments/API/wiki/CreateOrder
https://github.com/VivaPayments/API/wiki/Optional-Parameters (property SourceCode)
from api.
Καλησπέρα,
ευχαριστώ για την απάντηση. Επειδή το documentation είναι κάπως αόριστο
(SourceCode ( string ): Sources can be created and managed from the merchant's profile. A source is used for grouping and filtering transactions (ie a merchant may have more than one websites, or different product categories).) υπέθεσα αφού ανέλυσα και το παράδειγμα εδώ: https://github.com/VivaPayments/API/blob/master/CreateOrder/PHP/create_order.php
ότι πρέπει στα $postargs να προσθέσω ένα &SourceCode='xxxxxxxx'; Στο παράδειγμά σας το 'xxxxxxxx' είναι 'Default'. Στην περίπτωση μας υπέθεσα ότι το string που χρειάζεται είναι ο τετραψήφιος αριθμός στη στήλη 'Κωδικός' των Payment Sources. δηλ '1234'
Καταλαβαίνω ότι για σας είναι προφανές αφού δουλεύετε με τον κώδικα κάθε μέρα. Για μας που χρειάζεται να κάνουμε μια φορά setup δεν είναι. Λίγο πιο καλό documentation (με μερικά παραδείγματα) βρε παιδιά θα βοήθαγε όλους! το γράφω εδώ γιατί μπορεί να το χρειαστεί και κανείς άλλος (ίσως και εγώ στο επόμενο project)
Και πάλι ευχαριστώ για την απάντηση
from api.
Καλησπέρα bluemyria
Στον οδηγό του Redirect Checkout, στο section 3, αναφέρεται η σχέση του Source με τα Redirect urls
Upon completion of the checkout form, the customer is redirected back to your website. The redirection URLs are defined in your vivapayments.com account under the Sources section.
Note that the redirection always happens at the 'Source' level. If you have defined multiple sources on your profile, you need to use the optional parameter 'SourceCode' when creating the order, so that the system selects the appropriate redirection url.
Ωστόσο, σημειώνουμε το σχόλιό σας ότι δεν είναι αρκετά σαφές.
from api.
ναι αλλά πώς θα είναι ακριβώς αυτή η παράμετρος SourceCode δεν είναι προφανές, χρειάζεται ψάξιμο! αυτό σας λέω! Βάλτε ένα παράδειγμα με ένα screenshot για να καταλάβουν και οι πελάτες σας ότι πρέπει να βρούν το περιεχόμενο της στήλης "κωδικός" του payment source από το https://members.vivawallet.com/selfcare/el-gr/sources/paymentsources για να τον βάλουν σαν string. Ελπίζω τώρα να έγινε σαφές τι εννοώ
from api.
Πάντως θα ήθελα να ευχαριστήσω για την άμεση ανταπόκριση, βγήκαμε live και όλα είναι μια χαρά με τη σύνδεση στη viva!
from api.
Related Issues (20)
- Viva Wallet Standar checkout Woocommerce - Compatibillity Issue with woocommerce 8.5.2 HOT 4
- e-banking/DIAS DEMO environment HOT 3
- Account Verification Status Changed webhook not listed in interface HOT 2
- Typo in code HOT 2
- Marketplace Demo - Orders successful but not processed HOT 1
- Inconsistency in statuses HOT 2
- Integration Question (Payment's timeouting) HOT 4
- order accepted without payment HOT 3
- AISP PSD2 Interface plans HOT 3
- Cannot Reset module vivawalletsmartcheckout HOT 3
- Prestashop 8.1.3 bug when landing on the module page(it resets all the data) HOT 5
- demo.vivapayments.com login not working
- Uniqueness and life cycle of OrderCode HOT 5
- Checkout page in testing mode not working ? HOT 8
- Authentication issue for ISV Basic Auth HOT 5
- handle-payments-with-card-installments with extra amount HOT 7
- Update Card for Recurring Payments HOT 3
- [Feature Request] Add Microsoft Kiota API Search support and upgrade to OpenAPI 3 HOT 3
- [Feature Request|Idea] Unify the Cloud and Local Peer-to-Peer API HOT 2
- Cloud Terminal API problem HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.