Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Apex Programming

You're reading from   Learning Apex Programming Create business applications using Apex to extend and improve the usefulness of the Salesforce1 Platform

Arrow left icon
Product type Paperback
Published in Jan 2015
Publisher
ISBN-13 9781782173977
Length 302 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. Apex Assumptions and Comparisons 2. Apex Limits FREE CHAPTER 3. More and Later 4. Triggers and Classes 5. Visualforce Development with Apex 6. Exposing Force.com to the World 7. Use Case – Integration with Google Calendar 8. Creating a Property Management Application 9. Test Coverage Index

Mine, all mine


Now that we have a payment processing solution available, let's put it to good use by creating an interactive Visualforce page that will allow us to collect credit card information for processing. We'll make this page and its extension fairly dynamic, because we will make this one single page available internally as an embedded page within the Statement record view page and as a standalone page overriding the New button for payments; we will make it available as an external page that will allow users to pay without logging into Salesforce! We will be using concepts from Chapter 5, Visualforce Development with Apex, and Chapter 6, Exposing Force.com to the World, extensively, so refer to those if the need arises.

Black magic

First steps first. We'll be using the standard controller for Statement__c, and we'll need a custom extension called payments_Extension that contains a Payment__c record variable. Go ahead and create this extension now in Eclipse by right-clicking and navigating...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image