נכתב ע"י מרגרינה;340682:אז כנראה שלא הסברתי את עצמי נכון,
אני מתכנתת אתר שדורש דמי הרשמה ב-Paypal,
אני צריכה את הקודHTML של ה-Paypal כדי שאנשים שנכנסים לאתר יוכלו לשלם,
למשהו יש קוד כזה?
בנוסף אני צריכה לדעת איך בודקים שאכן התשלום בוצע? (אני עובדת ב-PHP)
[LEFT][COLOR=green][FONT=Courier New]- ליצור את טופס עם הפניה לאתר הפייפל --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] /><?XML:NAMESPACE PREFIX = O /><O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]form[/FONT][/COLOR][FONT=Courier New][COLOR=red]action[/COLOR][COLOR=blue]="https://www.paypal.com/cgi-bin/webscr"[/COLOR][COLOR=red]method[/COLOR][COLOR=blue]="post"><O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- לכתובת האימייל שעל שמו מתבצע התשלום --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="business"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="<לא ניתן לפרסם מיילים באופן פומבי>"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]--הוא כפתור רכישה רגיל _xclick לציין סוג כפתור למשל --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="cmd"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="_xclick"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- לציין את שם הפריט עבורו מתבצע התשלום --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="item_name"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="Some thing"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- לציין את מחיר הפריט --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="amount"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="18.95"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- לציין את סוג המטבע הפריט --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="currency_code"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="USD"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- כאן ניתן לציין את הכתובת באתר שלך אליו ישוב המשלם לאחר תשלום מוצלח --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="return"[/COLOR][COLOR=red] value[/COLOR][COLOR=blue]="http://yourdomain.com/thankyou.htm"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- להציג את תמונת הכפתור --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="image"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="submit"[/COLOR][COLOR=red]border[/COLOR][COLOR=blue]="0"[/COLOR][COLOR=red]src[/COLOR][COLOR=blue]="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif"[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=red][FONT=Courier New]alt[/FONT][/COLOR][COLOR=blue][FONT=Courier New]="PayPal - The safer, easier way to pay online"[/FONT][/COLOR][FONT=Courier New][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]img[/FONT][/COLOR][FONT=Courier New][COLOR=red]alt[/COLOR][COLOR=blue]=""[/COLOR][COLOR=red]border[/COLOR][COLOR=blue]="0"[/COLOR][COLOR=red]width[/COLOR][COLOR=blue]="1"[/COLOR][COLOR=red]height[/COLOR][COLOR=blue]="1"[/COLOR][COLOR=red]src[/COLOR][COLOR=blue]="https://www.paypal.com/en_US/i/scr/pixel.gif"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]</< font>[/FONT][COLOR=#a31515][FONT=Courier New]form[/FONT][/COLOR][COLOR=blue][FONT=Courier New]>[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT][/COLOR][/LEFT]
[COLOR=blue]<O:p></O:p>[/COLOR]
נכתב ע"י Haim;342585:אופן תשלום הפשוט ב-PayPal הוא ליצור טופס (form) עם מספר שדות נסתרים (hidden) וכפתור Submit בסוף כזה:
קוד:[LEFT][COLOR=green][FONT=Courier New]- ליצור את טופס עם הפניה לאתר הפייפל --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] /><?XML:NAMESPACE PREFIX = O /><O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]form[/FONT][/COLOR][FONT=Courier New][COLOR=red]action[/COLOR][COLOR=blue]="https://www.paypal.com/cgi-bin/webscr"[/COLOR][COLOR=red]method[/COLOR][COLOR=blue]="post"><O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- לכתובת האימייל שעל שמו מתבצע התשלום --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="business"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="<לא ניתן לפרסם מיילים באופן פומבי>"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]--הוא כפתור רכישה רגיל _xclick לציין סוג כפתור למשל --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="cmd"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="_xclick"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- לציין את שם הפריט עבורו מתבצע התשלום --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="item_name"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="Some thing"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- לציין את מחיר הפריט --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="amount"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="18.95"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- לציין את סוג המטבע הפריט --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="currency_code"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="USD"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- כאן ניתן לציין את הכתובת באתר שלך אליו ישוב המשלם לאחר תשלום מוצלח --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="return"[/COLOR][COLOR=red] value[/COLOR][COLOR=blue]="http://yourdomain.com/thankyou.htm"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- להציג את תמונת הכפתור --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="image"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="submit"[/COLOR][COLOR=red]border[/COLOR][COLOR=blue]="0"[/COLOR][COLOR=red]src[/COLOR][COLOR=blue]="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif"[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=red][FONT=Courier New]alt[/FONT][/COLOR][COLOR=blue][FONT=Courier New]="PayPal - The safer, easier way to pay online"[/FONT][/COLOR][FONT=Courier New][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]img[/FONT][/COLOR][FONT=Courier New][COLOR=red]alt[/COLOR][COLOR=blue]=""[/COLOR][COLOR=red]border[/COLOR][COLOR=blue]="0"[/COLOR][COLOR=red]width[/COLOR][COLOR=blue]="1"[/COLOR][COLOR=red]height[/COLOR][COLOR=blue]="1"[/COLOR][COLOR=red]src[/COLOR][COLOR=blue]="https://www.paypal.com/en_US/i/scr/pixel.gif"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]</< font>[/FONT][COLOR=#a31515][FONT=Courier New]form[/FONT][/COLOR][COLOR=blue][FONT=Courier New]>[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT][/COLOR][/LEFT] [COLOR=blue]<O:p></O:p>[/COLOR]
אל תחמיצו!!!
מנוי פרימיום באתר פרוג, יקפיץ את המוניטין שלך לקהל גדול שאסור לך להחמיץ!
ועכשיו בהזדמנות, מבצע פסח 10% הנחה ברכישת מנוי שנתי!
לוח לימודים
מסלולי לימוד שאפשר לההצטרף
אליהם ממש עכשיו:
2.04
כ"ג אדר ב'
השקה חגיגית
חדש בפרוג
קורס חדשנות AI ובינה מלאכותית
14 שיעורים מפוצצים תוכן על כלי הAI השונים ליצירת תמונות וויז'ואל, עריכת וידאו ומושן, כתיבה ורעיונות, אפיון ועיצוב אתרים ועוד המון!
ההרשמה נפתחה!
20.03
י' אדר ב'
פתיחת מסלול
עיצוב ואדריכלות פנים
מלגות גבוהות!
26.03
טז' אדר ב'
פתיחת מסלול
מאסטר בשיווק דיגיטלי
מלגות גבוהות!
8.05
ל' ניסן
פתיחת מסלול
אוטומציות עסקיות, בוטים והטמעת מערכות מידע
מלגות גבוהות!
9.05
א' אייר
ירושלמי?
יש לנו מלגה מטורפת עבורך! קורס במימון כמעט מלא!!
אוטומציות עסקיות, בוטים והטמעת מערכות מידע
ההרשמה בעיצומה
28.05
כ' אייר
פתיחת מסלול מורחב:
פיתוח ובניית אתרים
מלגות גבוהות!
תהילים פרק קכג
א שִׁיר הַמַּעֲלוֹת אֵלֶיךָ נָשָׂאתִי אֶת עֵינַי הַיֹּשְׁבִי בַּשָּׁמָיִם:ב הִנֵּה כְעֵינֵי עֲבָדִים אֶל יַד אֲדוֹנֵיהֶם כְּעֵינֵי שִׁפְחָה אֶל יַד גְּבִרְתָּהּ כֵּן עֵינֵינוּ אֶל יְהוָה אֱלֹהֵינוּ עַד שֶׁיְּחָנֵּנוּ:ג חָנֵּנוּ יְהוָה חָנֵּנוּ כִּי רַב שָׂבַעְנוּ בוּז:ד רַבַּת שָׂבְעָה לָּהּ נַפְשֵׁנוּ הַלַּעַג הַשַּׁאֲנַנִּים הַבּוּז לִגְאֵיוֹנִים: