Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
Added some documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Oct 18, 2018
1 parent d4a7243 commit 60c5efe
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions documentation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Sisow Documentation

## Parameter `locale`

> locale » Voor de taal van de betaalpagina
**Question Pronamic** on **12 okt. 2018 14:45**:

> Welke waardes zijn precies toegestaan voor de `locale` parameter? Bijvoorbeeld:
>
> - en
> - EN
> - en_US
> - en_GB
**Answer Sisow** on **18 okt. 2018 12:47**:

> Hieronder vind je de waardes voor de locale parameter.
>
> Locale paypal:
> `array('AU','AT','BE','BR','CA','CH','CN','DE','ES','GB','FR','IT','NL','PL','PT','RU','US');`
>
> locale cc en mistercash
> `array('NL', 'BE', 'DE', 'IT', 'ES', 'PT', 'BR', 'SE', 'FR');`
## Parameter `product_id_x` for `shipping` and `paymentfee`

> Voor de verzendkosten en een eventuele betaaltoeslag door te geven kunnen de volgende product_id_x worden gebruikt:
> - shipping, doorgeven van de verzendkosten
> - paymentfee, doorgeven van een eventuele betaaltoeslag
**Question Pronamic** on **12 okt. 2018 14:45**:

> Klopt het dat dit er als volgt uit moet gaan zien?
```
product_id_1=123
product_description_1=Test
product_id_2=shipping
product_description_2=Verzending
product_id_3=paymentfee
product_description_3=Betalingskosten
```

> Is het daarbij ook mogelijk om meerdere `shipping` en `paymentfee` producten door te geven? En kunnen de bedragen bij een `paymentfee` product ook negatief zijn?
**Answer Sisow** on **18 okt. 2018 12:47**:

> Het bovenstaande klopt inderdaad, regels shipping en payment fee mogen meerdere keren voorkomen, en bedragen mogen negatief zijn.
Binary file added documentation/REST321.pdf
Binary file not shown.
Binary file added documentation/WEbservice.pdf
Binary file not shown.
Binary file added documentation/rest501.pdf
Binary file not shown.
Binary file added documentation/rest510.pdf
Binary file not shown.

0 comments on commit 60c5efe

Please sign in to comment.