adyen-examples / adyen-python-online-payments Goto Github PK
View Code? Open in Web Editor NEWAccept payments on your Python/Flask based website with cards, wallets, and key local payment methods
License: MIT License
Accept payments on your Python/Flask based website with cards, wallets, and key local payment methods
License: MIT License
The Credit Card payment test scenario currently verifies the Credit Card form is filled. Extend the test case to include an actual payment.
Note: Credit Card number text field and CVC are included within an iframe (security reasons)
Add verification of HMAC signature included in the webhook notifications.
I think the following seemed to work but someone should re-verify and update the README accordingly. Perhaps even make a separate README for windows?
python3 -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
set FLASK_ENV=development
venv\Scripts\activate
venv\Scripts\python.exe app/app.py
I think after creating a virtual environment, one should always just use venv\Scripts\*
for python commands. But dunno, don't use windows much.
Adopt ADYEN prefix for all required keys (API_KEY, CLIENT_KEY, etc..) and allow setting the PORT number in the Configuration settings.
Upgrade sample application to use Adyen Web 5.16.0 (latest available to date)
Hi,
I set up the demo flask service for testing purpouses and I'm receiving a iframe error "The iframe has not configured - see suggestions in Console" inhibiting me from testing the card.
The issue has happened in both a windows 10 machine and a linux server. There are no suggestions printed out in any console I can think of, neither the browser debug console or the terminal running the service...
Any tips on how to get the component to work?
Regards.
I have had an issue where I was not able to install uuid via pip install... however, I was able to remove the uuid line from requirements.txt, and everything was then completely fine when running the the setup.sh. It appears uuid may be included with Python anyway.
The error from setup.sh:
Could not find a version that satisfies the requirement uuid==1.30 (from -r requirements.txt (line 3)) (from versions: )
No matching distribution found for uuid==1.30 (from -r requirements.txt (line 3))
name: 🐞 Bug
about: File a bug/issue
title: '[BUG] Reference string length causes GrabPay Test Transaction to fail'
The docs indicates a maximum string length of 80 for reference parameter. When reference length is replaced with a shorter string, GrabPay Drop-in works as expected.
Selecting GrabPay Drop-in option on GitPod instance returns a 422 error with message: "reference='Reference 0e852a1a-f187-49e9-9092-221772cbd46c' given is invalid
.
Selecting GrabPay Drop-in option on GitPod instance should redirect user to weblogin.grab.com to authenticate user and continue with checkout flow.
request['amount'] = {"value": "10000", "currency": "EUR"}
to request['amount'] = {"value": "10000", "currency": "SGD"}request['countryCode'] = "NL"
to request['countryCode'] = "SG"requirements.txt
Browser
Upgrade web drop-in to v5.23.1
There is an issue with the checkout version in component.html. It's currently 5.3.0 and should be updated to 5.4.0. This version is causing a bug with PayPal payments.
Is there a way of using this library to encrypt the payment data of my client? E.g expiry date and cvv.
Trying to proceed with a Klarna checkout fails for the sample, with the following error:
adyen-implementation.js:76 NETWORK_ERROR No InvoiceLines provided [This error message is only provided on TEST, this error will be a 500 Internal Error on LIVE.] NETWORK_ERROR: No InvoiceLines provided [This error message is only provided on TEST, this error will be a 500 Internal Error on LIVE.]
at yB (https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/5.23.1/adyen.js:1:176298)
at https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/5.23.1/adyen.js:1:175818
at u (https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/5.23.1/adyen.js:1:38360)
at Generator._invoke (https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/5.23.1/adyen.js:1:38148)
at Generator.next (https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/5.23.1/adyen.js:1:38768)
at Dd (https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/5.23.1/adyen.js:1:27464)
at i (https://checkoutshopper-test.adyen.com/checkoutshopper/sdk/5.23.1/adyen.js:1:27658) r {_id: 'klarna-db9ebbba-fb74-4eb9-9805-b5ad62303a39', props: {…}, state: {…}, _node: div#component.payment, _component: {…}, …}
Integrate the new /sessions
endpoint to leverage on a single API call
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.