Site Tools

en:girocheckout:paypage:start

Differences

This shows you the differences between two versions of the page.

en:girocheckout:paypage:start [2019/11/27 16:39]
michaelheumann
en:girocheckout:paypage:start [2020/01/17 20:02] (current)
michaelheumann
Line 141: Line 141:
|test           ​|Yes ​ |Integer ​    |1 = Display payment methods that are in test mode \\ 0 = Display payment methods that are in Live mode | |test           ​|Yes ​ |Integer ​    |1 = Display payment methods that are in test mode \\ 0 = Display payment methods that are in Live mode |
|certdata ​      ​|Optional ​ | Integer | 1 = Offer form for entering donation certificate data \\ 0 = Do not offer the form (default) | |certdata ​      ​|Optional ​ | Integer | 1 = Offer form for entering donation certificate data \\ 0 = Do not offer the form (default) |
+|otherpayments ​ |Optional ​ | String ​ | JSON-formatted array of objects, that allows for the integration of external payment methods into the payment page. Clicking on this payment method within the payment page, will redirect to the specified link directly, instead of being processed via the GiroCheckout gateway as in the case of the rest of the methods. Currently, only payment methods listed in the list of already supported payment methods are allowed here (see [[en:​girocheckout:​paypage:​start#​supported_payment_methods|Payment methods]]). \\ **Fields of the objects:** \\ **id**: Number of the payment method according to the list mentioned above. \\ **url**: Link to which the browser will be redirected on click. This link must contain everything that is required on behalf of the external payment provider (such as PayPal), so that the payment can be processed. The payment page does not carry out any string replacements or so. \\ **position**:​ Position that the new payment method will have within the full list of available payment methods on the page (>=1) \\ **Example (PayPal and credit card):** \\ <​nowiki>​[{"​id":​14,​ "​url":​ "​https://​www.paypal.de/​process/​123456&​param1=48399",​ "​position":​1},​ {"​id":​11,​ "​url":"​https://​www.visa.com/​whatever",​ "​position":​2}]</​nowiki>​ |
|paydirektShippingFirstName |Optional ​ | String(100) ​ | First name for shipping address (only paydirekt PHYSICAL orders) |  |paydirektShippingFirstName |Optional ​ | String(100) ​ | First name for shipping address (only paydirekt PHYSICAL orders) |
|paydirektShippingLastName ​ |Optional ​ | String(100) ​ | Last name for shipping address (only paydirekt PHYSICAL orders) | |paydirektShippingLastName ​ |Optional ​ | String(100) ​ | Last name for shipping address (only paydirekt PHYSICAL orders) |