commercetools / commercetools-payment-integration-java

Module to handle payment transactions
Apache License 2.0
6 stars 4 forks source link

handlePayment URL should be provided by the shop when calling payment connector #16

Closed butenkor closed 8 years ago

butenkor commented 8 years ago

It may be URL for staging or production instance

MGA-dotSource commented 8 years ago

Indeed this is kind of tricky as the shop is intended to basically know nothing about the available implementations. But on the other hand it makes sense that the shop is leading for that kind of configuration.

As a quick solution the url has to be passed with every "create transaction" request as a config parameter called "PayoneHandleURL". I do not really like that but concerning the current deadline this is the way to go for now.

@butenkor we should discuss that in depth later (maybe with @lauraluiz or @schleichardt)

floriansattler commented 8 years ago

@salander can you help here?

butenkor commented 8 years ago

It is ok to provide at as parameter.