Arborescence des pages



Contenu


Comment configurer votre compte ?


Vous devez vous rapprocher de votre responsable de compte partenaire pour obtenir les informations nécessaires permettant de configurer votre compte d'homologation et production sur Payline (Id, login du compte et  mot de passe).
Afin de créer le moyen de paiement sur Payline, en homologation et en production, rendez-vous sur le centre d’administration dans l’onglet « Configuration » puis « Vos moyens de paiement ». Un écran de recherche s’affiche, cliquez sur le bouton « Nouveau moyen de paiement ».

Écran de création de moyen de paiement  1/2:

Sélectionnez votre point de vente puis le type de moyen de paiement PAYSAFECARD2.

Cette dernière version permet de prendre en compte les dernières versions applicatifs : Softdescriptor et le remboursement.
Cliquez ensuite sur le bouton « Suivant ».

Écran de création de moyen de paiement  2/2:

Renseigner un libellé, un numéro de contrat de votre choix puis sélectionner votre devise. Cliquez sur le statut « Actif » et renseigner l'identifiant, le login SOPG, le mot de passe SOPG,le login MRT et le mot de passe MRT transmis par le partenaire.
Vous devez réaliser des transactions tests pour valider le bon fonctionnement en production.


Le code (card_code) du moyen de paiement est : PAYSAFECARD2

Comment proposer le paiement Paysafecard à vos clients ?

Une fois le moyen de paiement activé, il vous suffit d'utiliser l'API WebPayment dans vos appels webservices à Payline avec les fonctions doWebPayment et getWebPaymentDetails pour proposer ce moyen de paiement dans vos pages web.
Les fonctionnalités de paiement disponibles sont :

1.    Paiement à la commande : Renseignez le champ payment.mode à CPT et payment.action à 101.
2.    Paiement à l'expédition : Renseignez le champ payment.mode à CPT et payment.action à 100.

Vous pouvez réaliser un remboursement avec le service doRefund si le contrat PaysafeCard le permet.

L'API DirectPayment est également disponible pour une intégration en directe.
Les Ajax et Batch ne sont pas disponibles.
Les autres fonctions de l'API ne sont pas disponibles pour ce moyen de paiement.

Les champs obligatoires

Les champs obligatoires doivent être renseignés lors de la demande de paiement, dans le cas contraire la demande sera refusée. 

ChampsValeurFormatCommentaire
action100 ou 101N3Action : Autorisation ou Autorisation + validation
modeCPTAN3Mode comptant
contractNumberVotre numéro de contratAN50Le numéro de votre contrat Paysafecard sur Payline.


Afficher les pages de paiement 

L'affichage des pages de paiement nécessite simplement de contacter le service web  doWebPayment . Ce web service retourne à votre serveur l'url sur laquelle vous devez rediriger votre client afin qu'il réalise son paiement.
Ainsi pour ceux d'entre vous qui utilise Payline pour accepter des paiements par carte bancaire, l'affichage du moyen de paiement PAYSAFECARD se réalise tout simplement en cochant la case à cocher « activer ce moyen de paiement » dans l'écran de configuration du centre d'administration Payline.
Certains commerçants utilisent la fonction de sélection des moyens de paiement à afficher au consommateur. Si cela est votre cas, vous devez ajouter à la valeur du champ « selectedContractNumber » le numéro que vous avez renseigné lors de la configuration du moyen de paiement.
Enfin, dans le cas où vous souhaitez afficher uniquement les pages de paiement pour utiliser PAYSAFECARD, vous devez renseigner le champ « contractNumber » par le numéro de contrat que vous avez renseigné lors de la configuration du moyen de paiement.

Les codes de retour

Monext Online vous informe du résultat d’un paiement via le ShortMessage, selon le mode d'intégration proposé par le moyen de paiement. 

Les états retournés :

  • Le paiement est accepté avec l'état ACCEPTED et le code retour 00000.
  • Le paiement est refusé avec l'état REFUSED. Le code varie en fonction du motif de refus (Par exemple : 01xxx pour une raison bancaire ou 04xxx pour une suspicion de fraude).

La gestion des états et des codes retour sont listés ici.


Les codes spécifiques au moyen de paiement PAYSAFECARD sont listés dans le tableau ci-après.


CodeShortMessageLongMessage
12000ONHOLD_PARTNER Transaction pending
P999ERRORThe disposition is created but need to be submited or cancelled
12001ERRORNo data selected
12002ERRORInvalid field format
12003ERRORMandatory field is empty.
12004ERRORInvalid field format
12005ERRORInvalid field format
12006ERRORInvalid field format
12007ERRORInvalid field format
12008ERRORInvalid field format
12009ERRORInvalid field format
12010ERRORInvalid field format
12011ERRORInvalid field format
12012ERRORInvalid field format
12013ERRORInvalid field format
12014ERRORInvalid number of object per transaction
12015ERRORAnswer to Challenge Question is empty.
12016ERRORAnswer to Challenge Question is wrong.
12017ERRORAnswer to Challenge Question contains invalid characters.
12018ERRORChallenge Question is empty.
12019ERRORChallenge Question is too long
12020ERRORMerchant ID is empty.
12021ERRORMerchant ID is too long
12022ERRORMerchant-transaction ID is empty.
12023ERRORMerchant-transaction ID  is too long.
12024ERRORNot-OK URL is empty.
12025ERROROK URL is empty.
12026ERRORPassword is empty.
12027ERRORPassword too long.
12028ERRORSyntax error in password.
12029ERRORSerial number is empty.
12030ERRORSerial number is too long.
12031ERRORSerial number is not numeric
12032ERRORCard State is invalid.
12033ERRORSubmitted Card State is not equal to the expected Card State.
12034ERRORCard Type is invalid.
12035ERRORDebit State is invalid.
12036ERRORDisposition State is invalid.
12037ERRORSubmitted Disposition State error
12038ERRORClose Debit-flag is invalid
12039ERRORCurrency is empty.
12040ERRORCurrency is too long
12041ERRORCurrency Name is empty.
12042ERRORCurrency Name is too long
12201ERRORImmediate Payment item was not found.
12202ERRORMore than one eBay item is present.
12203ERRORPayment rolled back because of pending item.
12204ERRORTransaction reversed.
12205ERROReBay Transaction ID and eBay Order ID must be null.
12206ERRORThe value of PaymentAction must be Sale for Immediate Payment item.
12207ERRORCart ID is required for Immediate Payment item.
12208ERROReBay item amount does not match Express Checkout API item amount.
12209ERRORAccess denied because of a repeated recent access violation.
12210ERRORWrong Password entered.
12211ERRORNew Password 1 and new Password 2 are different.
12212ERRORChallenge Question Answer 1 and Challenge Question Answer 2 are different.
12213ERRORCard is in an invalid State.
12214ERRORNumber of copies printed is invalid.
12215ERRORPassword could not be set.
12216ERRORYou need to specify question.
12217ERRORThe card status of at least one card used for this inquiry is not valid.
12218ERRORThere is currently no available credit on this card. In the case of reserved amounts.
12219ERRORAt least one of the PINs used is not valid.
12220ERRORCard does not exist.
12301ERRORTransaction already exists.
12302ERRORTransaction does not exist.
12303ERRORTransaction is in invalid state.
12304ERRORInsufficient funds for payment.
12305ERRORThe entered password is incorrect.
12306ERRORTransaction currency is invalid for transaction.
12307ERRORThe amountis invalid for the used card.
12308ERRORThe amount  exceeds the card balance.
12309ERRORThe amountis invalid for the transaction
12310ERRORThe amount is insufficiently disposed for the transaction
12311ERRORThe Currency is invalid for this transaction
12312ERRORPayment transaction failed.
12313ERRORError finding transaction.
12314ERRORNo disposition has been made for this payment transaction.
12315ERRORPayment transaction failed.
12316ERRORError finding Merchant.
12317ERRORTransaction is in invalid State
12318ERRORMicroDebits for transaction are not sequential.
12319ERRORMicroDebit for transactiondoes not exist.
12320ERRORAmount cannot be modified.
12321ERRORThe amountis invalid for the transaction.
12322ERRORTransaction has no cards assigned.
12323ERRORBusiness type of transaction error
12324ERRORDebit cannot be performed
12325ERRORTransaction amount is empty
12326ERRORTransaction amount is not numeric
12327ERRORTransaction amount is invalid
12328ERRORBusiness type is invalid for transaction.
12329ERRORThe amount must be greater than zero.
12330CANCELLEDPayment canceled
12401ERRORMerchant is not active.
12402ERRORCurrency is not valid for merchant.
12403ERRORMerchant does not exist.
12404ERRORCard Type is not accepted by the merchant.
12405ERRORMerchant exceeded time window to debit the transaction.
12406ERRORMerchant exceeded time window for Micropayment.
12407ERRORMerchant already exists.
12408ERRORReporting Criterion for Merchant doesnt exist.
12409ERRORReporting Criterion error.
12501REFUSEDMerchant-transaction ID is empty.
12502REFUSEDMerchant-transaction ID  is too long.
12601ERRORSSL error
12602ERRORInvalid function request
12603ERRORabove maximum disposition amount or invalid ref
12604ERRORInvalid proxy request
12605ERRORConnection error
12606ERRORUnexpected response from server
12607ERRORUndefined error
12608ERRORError reported from backend
12610ERRORError opening configuration file
12611ERRORConfiguration file is no regular readable file
12612ERRORIncorrect syntax in configuration file
12613ERRORIncorrect value in configuration file.
12614ERRORError HTTP response from API proxy
12701ERRORGeneral technical error.
12702ERRORMAC check.
12801ERRORHTTPS request error.
12802ERRORGeneral technical error
12803ERRORGeneral technical error
12804ERRORPIN validation failed.
12805ERRORUnexpected error
12806ERRORAuthentication failed.
12807ERRORCancelPayment too late
12808ERRORInsufficient Balance
12809ERRORZero Balance.
12810ERRORCard not active
12811ERRORMethod not allowed for SOPG User.
12812ERRORCurrency not valid for SOPG User