This repository was archived by the owner on Sep 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Request parameters
ngdo-pro edited this page Jan 14, 2017
·
2 revisions
#Request parameters
Before sending a request to Sogenactif (the bank's API), you need to build it with parameters. These are part of a string, separated with spaces. Here are those parameters :
- merchant_id
- merchant_country
- amount (CAREFUL, IT MUST BE CENTS, for example : 100€ must be written 10000)
- currency_code (978 for euros)
- pathfile (path to reach it)
- transaction_id
- normal_return_url (successful payment)
- cancel_return_url (failed payment)
- automatic_response_url (user never comes back to merchant website)
- language
- header_flag
- capture_day
- capture_mode
- bgcolor
- block_align
- block_order
- textcolor
- receipt_complement
- caddie
- customer_id
- customer_email
- customer_ip
- data
- return_context
- target
- order_id
- normal_return_logo
- cancel_return_logo
- submit_logo
- logo_id
- logo_id2
- advert
- background_id
- templatefile
Made by the Wild Code School Lyon students