SlideShare une entreprise Scribd logo
1  sur  31
Télécharger pour lire hors ligne
WebCamp 2014 - Peter Trobec - @ptrobec
INTEGRATION OF ONLINE PAYMENTS
Peter Trobec
ptrobec@gmail.com
@ptrobec
WebCamp 2014 - Peter Trobec - @ptrobec
What will we cover?
● Overview of online payments
● Project management
● Documentation
● Development
– Sample code & test environment
– Statuses
– Logging
– Bugs
WebCamp 2014 - Peter Trobec - @ptrobec
Overview of Online Payments
● Different providers
– Global
● PayPal
● Google Wallet
● Amazon Payments
– Local
● MegaPOS
● PikPay
● Cetelem
● Liisi
WebCamp 2014 - Peter Trobec - @ptrobec
Overview of Online Payments
● Have different payment methods
– Purchase – digital goods
– Authorization – physical goods
WebCamp 2014 - Peter Trobec - @ptrobec
Purchase
● Money can be transferred immediately
● No stock needed
WebCamp 2014 - Peter Trobec - @ptrobec
Authorization
● Money only authorized – not transferred
● Products must be on stock
● Products have to be ready for delivery
● Authorization can expire
● Money is transferred only after capture is initiated
WebCamp 2014 - Peter Trobec - @ptrobec
Overview of Online Payments
Always make sure the financial department signed the contracts!
WebCamp 2014 - Peter Trobec - @ptrobec
PROJECT MANAGEMENT
WebCamp 2014 - Peter Trobec - @ptrobec
Rules
1.Always assign a responsible person
2.Communicate with all departments involved
3.Educate everyone involved in the process
4.On each change, update all the parties involved
5.If anything goes wrong, you will have to know the
answer, why it went wrong and how to fix it
WebCamp 2014 - Peter Trobec - @ptrobec
Instructions
● Prepare instructions for all departments
● Each department should get custom instructions
● Educate everyone on how the integration works
● Explain the differences between normal and online
payments
WebCamp 2014 - Peter Trobec - @ptrobec
Reports
● Most departments will need some kind of report
● Finance department will need the most accurate
report
● Not all online payments providers offer concise
reports so be sure to agree on this beforehand
WebCamp 2014 - Peter Trobec - @ptrobec
DOCUMENTATION
WebCamp 2014 - Peter Trobec - @ptrobec
Documentation
What you expect you'll get
WebCamp 2014 - Peter Trobec - @ptrobec
Documentation
What you'll get...
WebCamp 2014 - Peter Trobec - @ptrobec
Documentation can be...
● Outdated
● In a foreign language
● Lacking the most needed info
● Just an API reference
WebCamp 2014 - Peter Trobec - @ptrobec
Always
REQUEST THE LATEST DOCUMENTATION!!!
WebCamp 2014 - Peter Trobec - @ptrobec
DEVELOPMENT
WebCamp 2014 - Peter Trobec - @ptrobec
Sample code
● Not for your platform
● Not in a form of a plugin
● Just an example
● Always needs a complete rewrite
● Unsecure
WebCamp 2014 - Peter Trobec - @ptrobec
Test environment
● Not in English
● Not working
● Want to make a complete test transaction?
● Nope.
● But why?
● Not working.
WebCamp 2014 - Peter Trobec - @ptrobec
Test environment example
● Hungarian leasing provider
– Needed info:
● Tax identification number
● Personal document number (ID number)
● Valid land line/mobile number
WebCamp 2014 - Peter Trobec - @ptrobec
Test environment example
PROVIDED INFO:
NONE
WebCamp 2014 - Peter Trobec - @ptrobec
Test environment example
● What needed to be tested:
– Whole payment process with:
● Successful leasing outcome
● Unsuccessful leasing outcome
● Pending leasing outcome
● Timeout
● What could be tested:
– Nothing
WebCamp 2014 - Peter Trobec - @ptrobec
What will you need for testing
● Credit card nubers and info
● Sensitive personal data
– ID number
– Passport number
– Salary
– employer
WebCamp 2014 - Peter Trobec - @ptrobec
Statuses
● Hard to „track“ the meaning
● Not in English
● 10 integrations, 100 statuses
WebCamp 2014 - Peter Trobec - @ptrobec
Status examples
● With same meaning:
– APPROVED
– ACCEPTED
– GREEN
– 100
– INVOICE=123456:STATUS=PAID:PAY_TIME=YYYYMMDDhhmmss:STAN=[6
digits]:BCODE=[6 digits/letters]
– SATISFIED
– INITIALIZED
– 4
– 0000
WebCamp 2014 - Peter Trobec - @ptrobec
Payment statuses comparison
● Same provider with 2 systems:
– System 1:
● 1, 2, 3, 4, 5, 7, 99, 888
– System 2:
● VARIATION 1:
– PAYMENT_AUTHORIZED, PAYMENT_RECEIVED, TEST, COMPLETE, REVERSED,
REFUND
● VARIATION 2:
– SAME AS 1, BUT WITH ADDED STATUS: CASH
● VARIATION 3:
– NOT_FOUND, WAITING_PAYMENT, CARD_NOTAUTHORIZED, IN_PROGRESS,
PAYMENT_AUTHORIZED, COMPLETE, FRAUD, INVALID, TEST
WebCamp 2014 - Peter Trobec - @ptrobec
Logging
● Log everything
● Follow the bank way – make only inserts
● Always operate with the latest status
WebCamp 2014 - Peter Trobec - @ptrobec
Bugs
● It's your fault, not the bank's
● Have you logged everything?
● Bugs with payments are always critical
WebCamp 2014 - Peter Trobec - @ptrobec
The end
● Countless little fixes on:
– Front-end
– Legal text
– Various calculators
WebCamp 2014 - Peter Trobec - @ptrobec
The end
Endless stream of e-mails
WebCamp 2014 - Peter Trobec - @ptrobec
Q & A

Contenu connexe

Similaire à Integration of online payments - common pitfalls and how to avoid them

Integrating the Firelay platform with Braintree payments
Integrating the Firelay platform with Braintree paymentsIntegrating the Firelay platform with Braintree payments
Integrating the Firelay platform with Braintree paymentsWieteke den Uijl
 
Complete Oracle Procure to Pay Cycle
Complete Oracle Procure to Pay Cycle Complete Oracle Procure to Pay Cycle
Complete Oracle Procure to Pay Cycle mgarg82
 
Walmart pagespeed-slide
Walmart pagespeed-slideWalmart pagespeed-slide
Walmart pagespeed-slideBitsytask
 
Walmart Web Performance Circa 2013
Walmart Web Performance Circa 2013Walmart Web Performance Circa 2013
Walmart Web Performance Circa 2013Cliff Crocker
 
Profitable Website Projects - The Oreo Cookie Strategy
Profitable Website Projects - The Oreo Cookie StrategyProfitable Website Projects - The Oreo Cookie Strategy
Profitable Website Projects - The Oreo Cookie StrategyRed8 Interactive
 
Maximizing the Impact of Analytic Insight Delivery
Maximizing the Impact of Analytic Insight Delivery   Maximizing the Impact of Analytic Insight Delivery
Maximizing the Impact of Analytic Insight Delivery Mikan Associates
 
Neotys PAC - Bruno Audoux
Neotys PAC - Bruno AudouxNeotys PAC - Bruno Audoux
Neotys PAC - Bruno AudouxNeotys_Partner
 
Abila MIP Accounts Receivable (AR) - The How-To’s of Reporting and Billing
Abila MIP  Accounts Receivable (AR) - The How-To’s of Reporting and BillingAbila MIP  Accounts Receivable (AR) - The How-To’s of Reporting and Billing
Abila MIP Accounts Receivable (AR) - The How-To’s of Reporting and BillingNet at Work
 
ERP Integrations with Magento: How to do it fast, well and affordable
ERP Integrations with Magento: How to do it fast, well and affordableERP Integrations with Magento: How to do it fast, well and affordable
ERP Integrations with Magento: How to do it fast, well and affordableAlex Ursa
 
Fuel Good 2018: Upgrades Made Easy: The Canadian Museum of History
Fuel Good 2018: Upgrades Made Easy: The Canadian Museum of HistoryFuel Good 2018: Upgrades Made Easy: The Canadian Museum of History
Fuel Good 2018: Upgrades Made Easy: The Canadian Museum of HistorySparkrock
 
Frappe / ERPNext Open Day October 14
Frappe / ERPNext Open Day October 14Frappe / ERPNext Open Day October 14
Frappe / ERPNext Open Day October 14rushabh_mehta
 
Intuit Quickbase Empower 2015 - Finish Strong: SUCCESSFULLLY ROLLING OUT YOUR...
Intuit Quickbase Empower 2015 - Finish Strong: SUCCESSFULLLY ROLLING OUT YOUR...Intuit Quickbase Empower 2015 - Finish Strong: SUCCESSFULLLY ROLLING OUT YOUR...
Intuit Quickbase Empower 2015 - Finish Strong: SUCCESSFULLLY ROLLING OUT YOUR...John Head
 
Finish Strong -- Successfully Rolling Out Your Killer QuickBase App
Finish Strong -- Successfully Rolling Out Your Killer QuickBase AppFinish Strong -- Successfully Rolling Out Your Killer QuickBase App
Finish Strong -- Successfully Rolling Out Your Killer QuickBase AppQuickBase, Inc.
 
Woocommerce in 30 minutes
Woocommerce in 30 minutesWoocommerce in 30 minutes
Woocommerce in 30 minutesMatthew Nelson
 
2015 LOOP Verification - Member Briefing
2015 LOOP Verification - Member Briefing2015 LOOP Verification - Member Briefing
2015 LOOP Verification - Member Briefingloop_wwf
 
Mistakes Outsourcing Customers Make by Kees Blokland
Mistakes Outsourcing Customers Make by Kees BloklandMistakes Outsourcing Customers Make by Kees Blokland
Mistakes Outsourcing Customers Make by Kees BloklandKees Blokland
 
HOANG TONG QUANG - CV .NET DEV
HOANG TONG QUANG - CV .NET DEVHOANG TONG QUANG - CV .NET DEV
HOANG TONG QUANG - CV .NET DEVHoang Tong Quang
 

Similaire à Integration of online payments - common pitfalls and how to avoid them (20)

Integrating the Firelay platform with Braintree payments
Integrating the Firelay platform with Braintree paymentsIntegrating the Firelay platform with Braintree payments
Integrating the Firelay platform with Braintree payments
 
Complete Oracle Procure to Pay Cycle
Complete Oracle Procure to Pay Cycle Complete Oracle Procure to Pay Cycle
Complete Oracle Procure to Pay Cycle
 
Walmart pagespeed-slide
Walmart pagespeed-slideWalmart pagespeed-slide
Walmart pagespeed-slide
 
Walmart Web Performance Circa 2013
Walmart Web Performance Circa 2013Walmart Web Performance Circa 2013
Walmart Web Performance Circa 2013
 
Profitable Website Projects - The Oreo Cookie Strategy
Profitable Website Projects - The Oreo Cookie StrategyProfitable Website Projects - The Oreo Cookie Strategy
Profitable Website Projects - The Oreo Cookie Strategy
 
Maximizing the Impact of Analytic Insight Delivery
Maximizing the Impact of Analytic Insight Delivery   Maximizing the Impact of Analytic Insight Delivery
Maximizing the Impact of Analytic Insight Delivery
 
Eating the Elephant
Eating the ElephantEating the Elephant
Eating the Elephant
 
Neotys PAC - Bruno Audoux
Neotys PAC - Bruno AudouxNeotys PAC - Bruno Audoux
Neotys PAC - Bruno Audoux
 
Abila MIP Accounts Receivable (AR) - The How-To’s of Reporting and Billing
Abila MIP  Accounts Receivable (AR) - The How-To’s of Reporting and BillingAbila MIP  Accounts Receivable (AR) - The How-To’s of Reporting and Billing
Abila MIP Accounts Receivable (AR) - The How-To’s of Reporting and Billing
 
ERP Integrations with Magento: How to do it fast, well and affordable
ERP Integrations with Magento: How to do it fast, well and affordableERP Integrations with Magento: How to do it fast, well and affordable
ERP Integrations with Magento: How to do it fast, well and affordable
 
Fuel Good 2018: Upgrades Made Easy: The Canadian Museum of History
Fuel Good 2018: Upgrades Made Easy: The Canadian Museum of HistoryFuel Good 2018: Upgrades Made Easy: The Canadian Museum of History
Fuel Good 2018: Upgrades Made Easy: The Canadian Museum of History
 
Intro ppt
Intro pptIntro ppt
Intro ppt
 
Experience
ExperienceExperience
Experience
 
Frappe / ERPNext Open Day October 14
Frappe / ERPNext Open Day October 14Frappe / ERPNext Open Day October 14
Frappe / ERPNext Open Day October 14
 
Intuit Quickbase Empower 2015 - Finish Strong: SUCCESSFULLLY ROLLING OUT YOUR...
Intuit Quickbase Empower 2015 - Finish Strong: SUCCESSFULLLY ROLLING OUT YOUR...Intuit Quickbase Empower 2015 - Finish Strong: SUCCESSFULLLY ROLLING OUT YOUR...
Intuit Quickbase Empower 2015 - Finish Strong: SUCCESSFULLLY ROLLING OUT YOUR...
 
Finish Strong -- Successfully Rolling Out Your Killer QuickBase App
Finish Strong -- Successfully Rolling Out Your Killer QuickBase AppFinish Strong -- Successfully Rolling Out Your Killer QuickBase App
Finish Strong -- Successfully Rolling Out Your Killer QuickBase App
 
Woocommerce in 30 minutes
Woocommerce in 30 minutesWoocommerce in 30 minutes
Woocommerce in 30 minutes
 
2015 LOOP Verification - Member Briefing
2015 LOOP Verification - Member Briefing2015 LOOP Verification - Member Briefing
2015 LOOP Verification - Member Briefing
 
Mistakes Outsourcing Customers Make by Kees Blokland
Mistakes Outsourcing Customers Make by Kees BloklandMistakes Outsourcing Customers Make by Kees Blokland
Mistakes Outsourcing Customers Make by Kees Blokland
 
HOANG TONG QUANG - CV .NET DEV
HOANG TONG QUANG - CV .NET DEVHOANG TONG QUANG - CV .NET DEV
HOANG TONG QUANG - CV .NET DEV
 

Dernier

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durbanmasabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsBert Jan Schrijver
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 

Dernier (20)

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 

Integration of online payments - common pitfalls and how to avoid them

  • 1. WebCamp 2014 - Peter Trobec - @ptrobec INTEGRATION OF ONLINE PAYMENTS Peter Trobec ptrobec@gmail.com @ptrobec
  • 2. WebCamp 2014 - Peter Trobec - @ptrobec What will we cover? ● Overview of online payments ● Project management ● Documentation ● Development – Sample code & test environment – Statuses – Logging – Bugs
  • 3. WebCamp 2014 - Peter Trobec - @ptrobec Overview of Online Payments ● Different providers – Global ● PayPal ● Google Wallet ● Amazon Payments – Local ● MegaPOS ● PikPay ● Cetelem ● Liisi
  • 4. WebCamp 2014 - Peter Trobec - @ptrobec Overview of Online Payments ● Have different payment methods – Purchase – digital goods – Authorization – physical goods
  • 5. WebCamp 2014 - Peter Trobec - @ptrobec Purchase ● Money can be transferred immediately ● No stock needed
  • 6. WebCamp 2014 - Peter Trobec - @ptrobec Authorization ● Money only authorized – not transferred ● Products must be on stock ● Products have to be ready for delivery ● Authorization can expire ● Money is transferred only after capture is initiated
  • 7. WebCamp 2014 - Peter Trobec - @ptrobec Overview of Online Payments Always make sure the financial department signed the contracts!
  • 8. WebCamp 2014 - Peter Trobec - @ptrobec PROJECT MANAGEMENT
  • 9. WebCamp 2014 - Peter Trobec - @ptrobec Rules 1.Always assign a responsible person 2.Communicate with all departments involved 3.Educate everyone involved in the process 4.On each change, update all the parties involved 5.If anything goes wrong, you will have to know the answer, why it went wrong and how to fix it
  • 10. WebCamp 2014 - Peter Trobec - @ptrobec Instructions ● Prepare instructions for all departments ● Each department should get custom instructions ● Educate everyone on how the integration works ● Explain the differences between normal and online payments
  • 11. WebCamp 2014 - Peter Trobec - @ptrobec Reports ● Most departments will need some kind of report ● Finance department will need the most accurate report ● Not all online payments providers offer concise reports so be sure to agree on this beforehand
  • 12. WebCamp 2014 - Peter Trobec - @ptrobec DOCUMENTATION
  • 13. WebCamp 2014 - Peter Trobec - @ptrobec Documentation What you expect you'll get
  • 14. WebCamp 2014 - Peter Trobec - @ptrobec Documentation What you'll get...
  • 15. WebCamp 2014 - Peter Trobec - @ptrobec Documentation can be... ● Outdated ● In a foreign language ● Lacking the most needed info ● Just an API reference
  • 16. WebCamp 2014 - Peter Trobec - @ptrobec Always REQUEST THE LATEST DOCUMENTATION!!!
  • 17. WebCamp 2014 - Peter Trobec - @ptrobec DEVELOPMENT
  • 18. WebCamp 2014 - Peter Trobec - @ptrobec Sample code ● Not for your platform ● Not in a form of a plugin ● Just an example ● Always needs a complete rewrite ● Unsecure
  • 19. WebCamp 2014 - Peter Trobec - @ptrobec Test environment ● Not in English ● Not working ● Want to make a complete test transaction? ● Nope. ● But why? ● Not working.
  • 20. WebCamp 2014 - Peter Trobec - @ptrobec Test environment example ● Hungarian leasing provider – Needed info: ● Tax identification number ● Personal document number (ID number) ● Valid land line/mobile number
  • 21. WebCamp 2014 - Peter Trobec - @ptrobec Test environment example PROVIDED INFO: NONE
  • 22. WebCamp 2014 - Peter Trobec - @ptrobec Test environment example ● What needed to be tested: – Whole payment process with: ● Successful leasing outcome ● Unsuccessful leasing outcome ● Pending leasing outcome ● Timeout ● What could be tested: – Nothing
  • 23. WebCamp 2014 - Peter Trobec - @ptrobec What will you need for testing ● Credit card nubers and info ● Sensitive personal data – ID number – Passport number – Salary – employer
  • 24. WebCamp 2014 - Peter Trobec - @ptrobec Statuses ● Hard to „track“ the meaning ● Not in English ● 10 integrations, 100 statuses
  • 25. WebCamp 2014 - Peter Trobec - @ptrobec Status examples ● With same meaning: – APPROVED – ACCEPTED – GREEN – 100 – INVOICE=123456:STATUS=PAID:PAY_TIME=YYYYMMDDhhmmss:STAN=[6 digits]:BCODE=[6 digits/letters] – SATISFIED – INITIALIZED – 4 – 0000
  • 26. WebCamp 2014 - Peter Trobec - @ptrobec Payment statuses comparison ● Same provider with 2 systems: – System 1: ● 1, 2, 3, 4, 5, 7, 99, 888 – System 2: ● VARIATION 1: – PAYMENT_AUTHORIZED, PAYMENT_RECEIVED, TEST, COMPLETE, REVERSED, REFUND ● VARIATION 2: – SAME AS 1, BUT WITH ADDED STATUS: CASH ● VARIATION 3: – NOT_FOUND, WAITING_PAYMENT, CARD_NOTAUTHORIZED, IN_PROGRESS, PAYMENT_AUTHORIZED, COMPLETE, FRAUD, INVALID, TEST
  • 27. WebCamp 2014 - Peter Trobec - @ptrobec Logging ● Log everything ● Follow the bank way – make only inserts ● Always operate with the latest status
  • 28. WebCamp 2014 - Peter Trobec - @ptrobec Bugs ● It's your fault, not the bank's ● Have you logged everything? ● Bugs with payments are always critical
  • 29. WebCamp 2014 - Peter Trobec - @ptrobec The end ● Countless little fixes on: – Front-end – Legal text – Various calculators
  • 30. WebCamp 2014 - Peter Trobec - @ptrobec The end Endless stream of e-mails
  • 31. WebCamp 2014 - Peter Trobec - @ptrobec Q & A