SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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
 
Forselius - New look at project management triangle
Forselius - New look at project management triangleForselius - New look at project management triangle
Forselius - New look at project management triangle
 
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
 

Kürzlich hochgeladen

W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
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
 
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
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 

Kürzlich hochgeladen (20)

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
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
 
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-...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 

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