activemerchant_paybox_direct_plus 0.2.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,45 +0,0 @@
1
- ## Paybox Direct Plus
2
-
3
- This is a implementation of Paybox Direct Plus for ActiveMerchant.
4
- Paybox Direct Plus is a French payment solution allowing recurring payments, subscriptions, etc.
5
-
6
- ### Use and important information
7
-
8
- You have to create a Paybox user profile for every user you want to charge :
9
-
10
- response = @gateway.create_payment_profile(@amount, @credit_card, { :user_reference => "YOUR_USER_REFERENCE" })
11
-
12
- When creating a user profile, Paybox will do an authorization on the credit card. Thefore Paybox recommends that you give the same amount than your transaction
13
- when registering a user, so that you can do a `capture` after.
14
-
15
- The Paybox response contains the identifier `response.params["authorization"]` that may be saved in order to void or capture the transaction.
16
-
17
- @gateway.capture(@amount, response.params["authorization"], { :user_reference => "YOUR_USER_REFERENCE", :order_id => "ORDER_REFERENCE" })
18
-
19
- Using the `purchase` method will do an authorization and a capture. Some banks requires some delay between 2 authorizations on the same card. So if you register
20
- a profile then call `purchase` just after instead of `capture`, it may fail with some banks.
21
-
22
- When registering a new user, you will get a credit card reference in the response you get from Paybox : `response.params["credit_card_reference"])`.
23
-
24
- This is the reference you will have to add in the options when calling `purcharse` or `authorization` methods. You still have to pass a credit_card object but it will
25
- only be used for the validation date and CVV number.
26
-
27
- @gateway.purchase(@amount, @credit_card, { :user_reference => "YOUR_USER_REFERENCE", :order_id => "ORDER_REFERENCE", :credit_card_reference => @credit_card_reference })
28
-
29
- ### Compatibility
30
-
31
- For Ruby 1.8, use version 0.1.0.
32
- For Ruby 1.9 & 2.0 use latest version (>=0.2.0)
33
-
34
- ### Tests
35
-
36
- Remote integrations tests using the Paybox tests logins and server are available and should always pass.
37
-
38
- ### Credits
39
-
40
- The base of all this work is Donald Piret's great work on Paybox Direct Gateway implementation.
41
-
42
- ### Contact
43
-
44
- Please don't hesitate to contact me if you have any question, any suggestion or if you found any bug.
45
-
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.2.0
@@ -1,4 +0,0 @@
1
- paybox_direct_plus:
2
- login: 199988899
3
- password: 1999888I
4
-