| ÇÇ¾Æ½Ì °æ¸Å iPay API¿¡ ¾×¼¼½ºÇϱâÀ§ÇÑ ÆÄÀ̽㠶óÀ̺귯¸® |
Áö±Ý ´Ù¿î·Îµå |
ÇÇ¾Æ½Ì ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Other/Proprietary Li...
- °Ô½ÃÀÚ À̸§:
- Chee-Hyung Yoon
ÇÇ¾Æ½Ì Å±×
ÇÇ¾Æ½Ì ¼³¸í
pyipay´Â °æ¸ÅÀÇ iPay API.InstallationPIP ¼³Ä¡¸¦À§ÇÑ ÆÄÀ̽㠸ðµâÀÔ´Ï´Ù. PyiPayusage °¡Á® ¿À±â pyipay #Àº API ÀνºÅϽº ipay = pyipay.ipayapi ( "iPay id", "iPay Å°", "iPay Å°") # Ç׸ñÀ» ¸¸µì´Ï´Ù. item = ipay.create_item ( "Å×½ºÆ® Ç׸ñ", "Å×½ºÆ® ¼ø¼", °¡°Ý = 10, qty = 2, ¿É¼Ç = "Å×½ºÆ® ¿É¼Ç", item_url = "http : // localhost / item /", thumpnail_url = "http : // localhost / thumb", cancellable = true) items = (Ç׸ñ,) # ÁÖ¹® user = ipay.create_order (payment_rule = 0, total = 20, shipping_price = 0, shipping_type = 1, back_url = "http : // localhost / back", service_url = "http : // localhost / service", redirect_url = "http : // localhost / redirect", address_required = false, redirection_enabled = true) # ¼ø¼ °á°ú = ipay.place_order (ÁÖ¹®, Ç׸ñ) Print ResultProductÀÇ È¨ÆäÀÌÁö¸¦ ÀμâÇÕ´Ï´Ù.
ÇÇ¾Æ½Ì °ü·Ã ¼ÒÇÁÆ®¿þ¾î